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" [EMAIL PROTECTED]
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to