It is currently Sat, 04 Feb 2023 12:03:42 GMT



 
Author Message
 $PATH doesn't "stick"
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   
 $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   
 $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.

<921720854.594592...@news.cis.ohio-state.edu>...



 Sun, 02 Sep 2001 03:00:00 GMT   
 
   [ 3 post ] 

Similar Threads

1. hdparm doesn't "stick"

2. append ="128M" doesn't work

3. "make" doesn't work

4. klogd "doesn't" anymore

5. shutdown doesn't "shutdown"

6. INN on Linux, "Transfer permission denied", FAQ answer doesn't work

7. "Ping" doesn't work properly

8. "host" doesn't work

9. "Cabletronic 21xx" doesn't work

10. ELM doesn't open "mailbox"?


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software