Pages

Subscribe:

Ads 468x60px

2/27/13

Thank you.. Thank you… Thank you…. O(≧▽≦)O

Well, i never realised it before til today my friend talk about his blog and help me to find this..


Feel so grateful that the truth is my blog ever being seen by others, and especially from foreign country. Wish i could post more and help more.. Thank you for visiting my blog.



゚☆,。・:*:・゚★o(´▽`*)/♪Thank You♪(*´▽`)o゚★,。・:*:・☆゚

-bash: : command not found SOLVED!

Well, i just a novice at OS X and doing some installation of Android *it should be easy. I followed this tutorial, "how-to-install-the-android-sdk-onto-apples-os-x-lion" but i don't Unzip it and deposit it into your home directory (~/). Instead, i unzip it at /Volumes/Data/Android/android-sdk-macosx and unfortunately i change my environment variable on .bash_profile, which is the source of my bash error now.
Last login: Wed Feb 27 10:14:02 on ttys000
Marias-MacBook-Pro:~ mariabina07$ sudo bash
-bash: sudo: command not found
Marias-MacBook-Pro:~ mariabina07$ ls
-bash: ls: command not found
Marias-MacBook-Pro:~ mariabina07$ 

I got that kind of error for a basic command, i scare myself to death!! Fortunately, i found this http://stackoverflow.com/questions/8910783/sudo-wont-work-after-change-mistake-in-path-env. I followed it and finally i can run my android now.
Marias-MacBook-Pro:~ mariabina07$ PATH=$PATH:/usr/bin
Marias-MacBook-Pro:~ mariabina07$ export "PATH=$PATH:/usr/local/bin"
Marias-MacBook-Pro:~ mariabina07$ sudo bash
Password:sudo: bash: command not found
Marias-MacBook-Pro:~ mariabina07$ android 
But, it got back to the first problem when i open a new terminal and still i can't be root sudo: bash: command not found. it does shock me to death!!! Finally i end up with fill nothing on .bash_profile, and "android" can't recognised again. 
But now i started from scratch followed this :  setting-android-and-path-environment-variables-on-mac-os-x, from here i know that the setting of environment path is on .profile. And this is a good explanation about environment variable os_x_change_path_environment_variable