Re: environment variable

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

 



On Wed, Feb 12, 2003 at 09:21:04AM -0600, Mike Vanecek wrote:
> 
> ---------- Original Message -----------
> From: Joe Klemmer <klemmerj@webtrek.com>
> To: psyche-list@redhat.com
> Sent: 10 Feb 2003 17:48:48 -0500
> Subject: Re: environment variable
> 
> > On Mon, 2003-02-10 at 17:36, Jerry Roy wrote:
> > 
> > > How do I permanently set an environment variable so it works across
> reboots? I have the command down, just don't know which is the correct file
> (.bashrc? .profile?) to place it in. Someone said there is a "Better" way.
> Please offer suggestions on writing the command.
> > > 
> > > set $ICAClient:/test/icadir
> > > export $ICAClient
> > 
> > 	If you only need this for your login put it in $HOME/.bash_profile. 
> > But if it's needed by the system for every login you should put it in
> > /etc/profile.
> ------- End of Original Message -------
> 
If it is a really system wide variable, for example the name of the
default PRINTER, it should go in /etc/profile...that is the place.
Probably won't help if you use tcsh though...

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux