Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.12 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. inotifywait -m -e close_write /var/mail/$USER 2>/dev/null | \
  4. while read line; do WAIT=1 notify new mail; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement