On 2006-09-21 15:37:56 -0400 Morgan Walker <[EMAIL PROTECTED]> wrote:

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 loged in on `date`." |\ ...

(those are backticks around "date")

Run "date --help" to see how to change the date format if you want something different than the default.

--
Hubert Chan - email & Jabber: [EMAIL PROTECTED] - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA   (Key available at wwwkeys.pgp.net)
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to