Hey all, When I export a new $PATH using PATH=$PATH:/blah/blah/blah, and then exit my console, then re-enter it, the path i recently added no longer is there. How do I make these new paths "stick"?
Thanks, Michael Schneider
Sun, 02 Sep 2001 03:00:00 GMT
Kenneth Stephe #2 / 3
$PATH doesn't "stick"
Michael,
There are two places where you can make changes to fix this. You can edit the script /etc/profile and change the PATH there. This will change make the changes effective for all users. The other alternative is to edit either the files .bash_profile or .bash_login in your home directory and make the changes there. This will make the changes effective for your id only.
Regards, Kenneth
-- There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.
Sun, 02 Sep 2001 03:00:00 GMT
Charles Sulliva #3 / 3
$PATH doesn't "stick"
You'll need to put the PATH command (and export) into your shell profile (or equivalent). For a bash shell, this will be ~/.bash_profile This file is run once each time you log in.