Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
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