On Mon, 01 Jun 2009 09:43:31 -0500, Mikkel L. Ellertson wrote:
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)
I would assume that this is a common problem with a common solution
represented in a repository. Is that incorrect?
-Thufir