On Wed, Apr 25, 2001 at 11:21:48AM +1000, Andrew Bennetts wrote:
> On Wed, Apr 25, 2001 at 06:32:29AM +1000, David wrote:
> > and a dumb extension to this question.. where are they stored?
> 
> In the memory of the shell process.
> 
> If you want them to be persistent, i.e. always set even after
> relogins/reboots, etc., you need to put them in your ~/.bash_profile or
> ~/.bashrc files (assuming that you are using bash as your shell, which
> is usually the case).

To get a good idea how it works, look up the bash man page, scroll
down till you hit the 'INVOCATION' section.

Env vars can be passed through telnet sessions (check in.telnetd and login
for that stuff) etc, so the bash defaults aren't the only places env
vars can appear.

Paul.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to