List of Filenames to Check For Mail

$MAILPATH is a colon-separated list of filenames, which are checked for mail by the shell.

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 集成开发工具 – 马上试用!
© 2020–2022 Joachim Ansorg
声明
隐私政策
许可条款