Twitter Updates

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:

Unknown said...

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!!!

A Person said...

Thanks Eric, Glad it was helpful.

Aditi said...

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.

Anonymous said...

Thanks!!! Very useful! :-)

Author said...

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

A Person said...

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

Anonymous said...

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

Anonymous said...

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

You're a lifesaver :)

Anonymous said...

God bless you!