$MAIL
–
Path to a mail file or directory
$MAIL
contains the path to a file or a Maildir-format directory. If $MAILPATH
is not set, then
Bash informs the user when new mail arrived in $MAIL
.
Links
Examples
- Check
$HOME/.inbox
for incoming mail every 10 seconds 1 2 3
MAIL=~/".inbox" MAILCHECK=10 # Now bash will notify you when ~/.inbox changes
BashSupport Pro is a Bash IDE with support for $MAIL – try it now!