$MAILPATH
–
List of Filenames to Check For Mail
$MAILPATH
is a colon-separated list of filenames, which are checked for mail by the shell.
Links
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 是一个 支持 $MAILPATH 的 Bash 集成开发工具 – 马上试用!