1
New to Unix, I recently tried to add a $PATH
variable in Unix in order to debug my android sdk. I looked up online the directions and tried to follow them as thoroughly as possible. What ended up happening is that my basic commands no longer work (e.g. ls
, man
, cd
etc...) I get a message stating "-bash: ls: command not found". I am not sure what I might have done. Maybe I might have wrote over the original file.
Yes. I believe that is what I did. When I echo $PATH it shows a path pointing to my Android SDK folder, which obviously isn't the correct directory. How can I return my PATH variable to the default? I would like to have Unix working normally again. – None – 2011-11-20T05:19:02.403
What distro are you using? – None – 2011-11-20T05:22:52.667
If you modified your startup scripts ($HOME/.bashrc, $HOME/.bash_profile, $HOME/.profile), then back out whatever changes you made. Then launch a new terminal window. – Keith Thompson – 2011-11-20T05:24:40.157