Environments belong to *processes*, and each process has a separate set
of environent variables.

A change to %ENV changes the environment for that process. A copy of that
(changed) environment is inherited by any child processes created after
that point, but a process *cannot* directly modify the environment of its 
parent (or any other non-child process).

Since processes are transient, there is technically no such thing as 
"change it permanently". The best you can do is use a shell or other
initialization file (e.g. .bashrc) to provide a "permanent" initial value.

> -----Original Message-----
> From: maarten hilgenga [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 19, 2001 3:41 AM
> To: [EMAIL PROTECTED]
> Subject: witing to %ENV permanently
> 
> 
> Hi all,
> 
> When I try to change the value of the environmental variable 
> DNM on a linux 
> machine, DNM only changes when the script is running. Can 
> anyone tell me how 
> to change its value permanently?
> 
> Thanx
> 
> Maarten Hilgenga
>  
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to