On 16-May-00 Michael McLeod opined:
> I wanted to add to my PATH variable so I did the following:
> PATH=$PATH:/usr/local/bin
> and when I checked with echo $PATH, the PATH had the addition
> "/usr/local/bin" But, it didn't stick soon the PATH variable had
> reverted to its original statement and the one I had added was gone. I
> tried several times but the same thing happened.
> What am I doing wrong?
That depends. Was the instruction in a file that gets run, such as
/etc/profile or ~/.bash_profile? If not, it is limited to the current
session. That could be after login until logout, or the session currently
running in a term window.
If run from a term, it only applies to the term. Once closed, the new
instruction is lost. It wlso won't apply to any other program/daemon/
background process already running. If it is typed in at login, it will
continue to work until logout, at which time it will again be lost.
---
Who am I? Why am I here?
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.