[NTLUG:Discuss] Last time mail was read.
Rusty Haddock
rusty at fe2o3.lonestar.org
Mon Dec 8 01:56:27 CST 2003
Bob Byron wrote:
>I saw that there is a simple way to get the last time email was
>read for an account by using the "finger" command. Unfortunately,
>finger shows this "Unread since" value on the fourth or fifth line along
>with other information. Is there another command that will show
>the last time email was read for a user? I don't really want to dig
>into the maillog either. finger will do, but it is not my ideal.
Try this:
ls -lc --full-time /var/spool/mail/$USER
Without the "--full-time" you could get just "May 28, 2003" with
no time (ie. if the time of last status change is more the 6-months
in the past).
-Rusty-
--
_____ Rusty Haddock = KD4WLZ = rusty at fe2o3.lonestar.org
|\/ o \ o **Out yonder in the Van Alstyne (TX) Metropolitan Area**
| ( -< O o Microsoft is to software what
|/\__V__/ McDonalds is to gourmet cooking
More information about the Discuss
mailing list