Tuesday, 16 September 2008

Mac OS X Default $PATH

Just in case the $PATH terminal variable gets corrupted, for MAC OS X 10.5 .
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

9 comments:

  1. Thank you, and thanks again! I screwed up my $PATH variable and being relatively new to working in a terminal window I was pretty messed up until I found this post. You helped me tremendously. Thanks Again!!!

    ReplyDelete
  2. Thanks Eric, Glad it was helpful.

    ReplyDelete
  3. THANK YOU SO SO SO SO MUCH!!! I've been looking for this answer for a long time but no one had posted anything specific enough. They just said you can change the path like this "export PATH=/path/whatever"

    You're a lifesaver.

    ReplyDelete
  4. Thanks!!! Very useful! :-)

    ReplyDelete
  5. You saved me today. Thanks so much for posting this.

    ReplyDelete
  6. Glad I could help Brandie, thanks for leaving a comment.

    ReplyDelete
  7. Thank you! Saved my computer after I broke my PATH.

    ReplyDelete
  8. Thank you so much! I was worried I'd completely messed up my computer... :/

    You're a lifesaver :)

    ReplyDelete
  9. God bless you!

    ReplyDelete