This one time, at band camp, Morgan Walker said:
>
> Thanks Michelle that worked perfect. Is there an easy variable I could
> throw in there that you know off hand which would include the time
> (MM/DD/YYYY) as well?
echo "The User ${LOGNAME} has logged in at $(date -R)" |\
mail -s "user login" watchdog@addr.ess
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran@debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
Attachment:
signature.asc
Description: Digital signature