Sep 19

Fixing a broken bash profile on Mac

Posted by James Netherton | Wednesday 19 September 2007 12:29 PM | In Mac

If like me you start editing the PATH variable within your .bash_profile file without knowing what you're doing, there's the possibility that the next time you fire up the terminal, none of the usual commands will work.

You should be able to do this:

/usr/bin/vi .bash_profile

To edit and fix it.

 

0 Comments

[Post comment]


Leave a comment








Captcha text