Can anybody explain what is wrong with my terminal:

$ echo $PATH
$ ls
-bash: ls: command not found
$ cd
-bash: find: command not found

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


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:

| 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.