Re: howto set global environment variable (e.g. PATH, JAVA_HOME)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Darren Spruell
Date: Wednesday, August 8, 2007 - 10:03 pm

On 8/8/07, Lars Hansson <romabysen@gmail.com> wrote:

~/.profile overrides /etc/profile.

$ echo 'var1=a' >> /etc/profile
$ echo 'var1=b' >> ~/.profile
$ /bin/ksh -l
$ echo $var1
b

In this case, users' dot files will have be updated.

DS
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: howto set global environment variable (e.g. PATH, JAVA ..., Darren Spruell, (Wed Aug 8, 10:03 pm)
Re: howto set global environment variable (e.g. PATH, JAVA ..., Pierre-Yves Ritschard, (Fri Aug 10, 1:22 am)