environment variables

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Jun 1 14:43:31 UTC 2009


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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090601/d3010a58/attachment-0001.sig>


More information about the fedora-list mailing list