$ENV: ?? WHat does that mean?!!

Ken Bell SYKLB%NASAGISS.BITNET at cunyvm.cuny.edu
Wed Oct 31 08:44:12 AEST 1990


When the Korn shell starts up, if it's a login shell, then your
.profile is executed, otherwise it isn't.  If you want to have
something that is executed on every login (like the .login in
the C shell), then you put it in an .environment file, and you
can specify the name of that file in the ENV environment variable.

If you want, for example, to define aliases that will always
"be there for you", you must do that in an .environment file,
otherwise, any shells other than the original login shell won't
have them defined.

Ken Bell (SYKLB at NASAGISS * SYKLB at NASAGISS.GISS.NASA.GOV * 212-678-5545)
Acknowledge-To: <SYKLB at NASAGISS>



More information about the Comp.unix.internals mailing list