$MAILCHECK  –  Define How Often the Shell Checks For Mail

$MAILCHECK defines the interval in seconds when the shell should check for mail.

Examples

Check $HOME/.inbox for incoming mail every 10 seconds
1
2
3
MAILPATH=~/".inbox?Hey, you've got mail in \$_"
MAILCHECK=10
# Now bash will notify you when ~/.inbox changes
BashSupport Pro is a Bash IDE with support for $MAILCHECKtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal