fuzzy !! <com-nspm> wrote:
In general, you don't ever execute .profile files. You log in and have
your shell source it.
the file is in the users homedir and has
You're misunderstanding what's occuring. When you execute a shell
script, a new shell is launched, runs the program, and exits. All the
variables were defined, but only in the new shell.
If you set variables in the script, then you cannot execute it and have
it affect your current shell. You must instead source the file.
Darren Dunham com
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >