In the last couple of days my terminal has been saying
-bash: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin: No such file or directory
However, all of the above do exist. I was playing around with $PATH variable last week but the error I am now getting appeared days after I stopped playing with the $PATH variable.

Here are the contents of my .bash_profile that I was playing about with too:

The first line of your .bash_profile is the problem.
That line is attempting to run /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin as a command which causes the error you see when you start the shell.
Remove that line and the error should go away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With