Notifying arrival of mail.

Notifying arrival of mail.

Post by Mark Johnso » Thu, 19 Jan 1995 02:52:35

I think that bash can do it automaticaly. bash is a 'very good' (IMHO)
shell from GNU, or is that FSF?



Notifying arrival of mail.

Post by srini.. » Fri, 20 Jan 1995 03:13:55

Quote:>How can I tell the shell to warn me when new mail arrives,
>not just as often as when .cshrc is being invoked ?
>I was thinking of piping the mail to the echo command like :

>"|/usr/bin/echo 'New mail has arrived'"

>but it doesn't work.

>Anyone knows ?


try "newmail -i x" where x is any number of seconds, the gap between mail daemon
checks for new mail.