cancel
Showing results for 
Search instead for 
Did you mean: 

Env Variables

ziad_4
Advisor

Env Variables

How can i set environment variables(ex:$PATH,$DISPLAY,...)permanently,(not every login).
many thanks.
2 REPLIES
Ralf Puchner
Honored Contributor

Re: Env Variables

this is a primer question answered within the system admin guide. Please read the documentation.

Btw. the used shell is the key, use the man page to get the answer....
Help() { FirstReadManual(urgently); Go_to_it;; }
Dasaradharamaraju
Occasional Advisor

Re: Env Variables

Hi,

The default and other common variables applicable to all users should be set at /etc/profile. Any thing independent of user should be set in home directory of that user.

ex: PATH=/usr/bin
export PATH

Regards,
Ramaraju