When I open terminal I get an automatic error message -bash: PATH command not found.
then I am stumped in getting multiple -bash "x" command not found. messages, even to simple commands such as ls cd mkdir rm.
Just about the ONLY commands I get a response to are echo and export. Could my Unix system files be corrupt, as has been suggested in some searches for help? My hunch is that there is some setting that directs me away from the proper spot to make UNIX commands, but I don't know how to fix that.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
Your .bashrc or .bash_profile files (or other startup files) contain a typo, and your PATH is invalid. To really be certain, we'd need to see your .bashrc or .bash_profile files. Commands like Search your .bashrc or .bash_profile files and look for the lines where PATH is defined. You might have a bad definition where second PATH doesn't start with a $, like this:
It should say something like this:
|
||||
|
~/.bashrcfile? – Steven D Feb 8 '11 at 0:07