in reply to Environment Variable Setting
When you source a file in the shell, that actually does what you want -- it doesn't create a sub-shell, but interprets the file in the current shell, allowing it to change the environment. That's unlike running the script as an executable, which does fire up a new shell process, which is unable to change the environment of its parent. So source sge_sigma.csh should do what you want.
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Environment Variable Setting
by austinj (Acolyte) on Apr 23, 2012 at 19:03 UTC | |
by aaron_baugher (Curate) on Apr 23, 2012 at 21:14 UTC | |
by Anonymous Monk on Apr 24, 2012 at 14:50 UTC |