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

Re: environment variables



Thufir wrote:
> Just curious about the best way to manage env var's.  I edited /etc/
> profile which works fine, but what happens when a new version of java 
> gets installed?
> 
> 
A better way is to add files to /etc/profile.d - you can use the
ones there as examples. The ones with ending in .csh are used if you
are using a c type shell, (csh, tcsh, etc) and the ones ending in
.sh are for sh type shells. (sh, bash, zsh, etc)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


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