[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using bash to check mail
From: |
Alak Trakru |
Subject: |
using bash to check mail |
Date: |
Wed, 8 Aug 2001 04:06:35 -0400 |
anyone know how to check mail using bash.
i tried using MAIL and MAILPATH but they don't seem to work.
i wanted to use something like this:
# /bin/mail -E
# switch ( $status )
# case 0:
# echo "there's new mail."
# breaksw;
# case 2:
# echo "no new mail."
# breaksw;
# endsw
i used this with a c shell
any suggestions?
- using bash to check mail,
Alak Trakru <=