Mac OS X Terminal - Basic commands not found by shell I've had some problems recently with terminal.
The shell isn't able to execute basic commands, since they are not being found.

Here's an example :

-bash: ls: command not found

I've been doing some research and I suspect that it's the PATH, but I have no idea how to fix it or even look at it.

Any help would be much appreciated, I'm not the most knowledgable when it comes to this stuff, just fyi.
To see if your $PATH variable is set:

echo $PATH


If you've set something to override it, it's likely in the files .bashrc or .bash_profile

You'll need to edit those to remove any entries overriding your $PATH variable.

Start with just mv them out the way (use /bin/mv to hit mv directly), and starting a new session to see if that fixes things.