Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- inotifywait -m -e close_write /var/mail/$USER 2>/dev/null | \
- while read line; do WAIT=1 notify new mail; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement