LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   export variables (https://www.linuxquestions.org/questions/linux-general-1/export-variables-175623/)

radnix 04-28-2004 03:04 PM

export variables
 
Hi,

I want to add 'export something=something' automatically after I login. Where can I put it besides .bashrc ?

Is it possible to define a variable I want to export at boot up time?

Thanks ahead!:study: :)

iainr 04-28-2004 03:06 PM

~/.bash_profile and /etc/profile respectively.

radnix 04-28-2004 06:52 PM

preload exports
 
Thank you soooooooo much. It works great and I learned. Will read up on the /etc/profile and ~.bash_profile uses.:study: :D


All times are GMT -5. The time now is 01:24 AM.