0

Can anybody explain what is wrong with my terminal:

 
$ echo $PATH
=/usr/local/bin
$ ls
-bash: ls: command not found
$ cd
-bash: find: command not found

Why won't these commands work? Help? Anyone?

3

You have a typo in your PATH. That = character shouldn't be there. There is no =/usr/local/bin directory. It should be /usr/local/bin. But also, you probably want several other directories on your PATH, separated by : characters. Typically, it'll be something like this:

PATH=/usr/local/bin:/bin:/usr/bin:/home/myname/bin
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.