I was trying to install some stuff for scala development on my MAC, and probably I managed broke the shell/terminal while I was mindlessly running some scripts that I don't know.
Now when I start the terminal it always starts with this line;
$ /sbin:sbin:/usr/local/bin': not a valid identifier
And now when I try, I see some bash commands does not work, for instance grep, syslog..etc I get an error saying;
-bash syslog: "no such file or directory"
Any idea what is wrong and how can I fix this
bash --noprofile
, which will start Bash without running the login script. – Chris Page Dec 16 '15 at 14:09