Hi there,
I needed to add a directory to my path. I opened terminal and vi .bash_profile. I was suprised to see it was a new file and there didn't appear to be an existing .bash_profile. Anyways, being a new MAC user I figured that was ok and I added a line to put a directory in my path.
I save the file. Now the directory is in my path..good. However, basic commands like ls etc don't work! Command not found. It appears to me as though I've overwritten my whole .bash_profile now.
I called tech support to find an original copy of the .bash_profile but they don't support terminal users apparently. Can anyone assist by telling me how I can restore my .bash_profile or point me to an original copy? Or perhaps this isn't the problem and someone can offer a suggestion.
Appreciate the help,
Marshall
I needed to add a directory to my path. I opened terminal and vi .bash_profile. I was suprised to see it was a new file and there didn't appear to be an existing .bash_profile. Anyways, being a new MAC user I figured that was ok and I added a line to put a directory in my path.
I save the file. Now the directory is in my path..good. However, basic commands like ls etc don't work! Command not found. It appears to me as though I've overwritten my whole .bash_profile now.
I called tech support to find an original copy of the .bash_profile but they don't support terminal users apparently. Can anyone assist by telling me how I can restore my .bash_profile or point me to an original copy? Or perhaps this isn't the problem and someone can offer a suggestion.
Appreciate the help,
Marshall