LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What files are amended when you do a EXPORT? (https://www.linuxquestions.org/questions/linux-newbie-8/what-files-are-amended-when-you-do-a-export-163322/)

davidas 03-28-2004 06:45 AM

What files are amended when you do a EXPORT?
 
Eg. EXPORT PATH=$PATH:/usr/local/bin

To which files is the above line "PATH=$PATH:/usr/local/bin" added to?

Thanks !

Muzzy 03-28-2004 07:03 AM

I don't think it does change any files.

If you want to set up environment variables that are retained after a reboot, you should add them to your bash profile (edit /etc/profile as root to change for all users - you can also create a profile for each user).

Hope this helps,
Muzzy.

mikshaw 03-28-2004 01:41 PM

It's also typically a lowercase "export"


All times are GMT -5. The time now is 04:39 PM.