Re: [SLE] Where is the $MAIL variable set?
Jurjen Oskam
I'm probably missing something very obvious here, but where does the $MAIL variable, as in:
joskam@calvin:~ > echo $MAIL /var/spool/mail/joskam joskam@calvin:~ >
gets set?
MAIL is one of several environment variables which are set by the login process before the user's shell is started. From `man login': ... Then the HOME, PATH, SHELL, TERM, MAIL, and LOGNAME environment variables are set. ...
I've tried looking in /etc/profile, ~/.profile, various .*shrc's, rc.config... I've likely overlooked it, but where is it? Thanks.
It's not set in this files by default. But you can add directives to overwrite the variable with an other value in one of this files. Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
eilert@informatik.uni-bremen.de