[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Enviroment Variable



On Saturday, Mar 8th 2003 at 08:37 -0500, quoth Nestor Waldyd:

=>...
=>
=>How can i set an enviromental variable such that it remains (in the bash) 
=>sesion after sesion...? Becouse i use 'export' to set enviroment variables 
=>and each time i begin a sesion i have to set the same variables again and 
=>again.....
=>
=>....

Add your export statements to your .bash_profile
Everytime you log in you run the contents of that file. Do *not* put any 
export statements in your .bashrc as that file is read for every subshell.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question?
steveo at syslang.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]