Package: sysvinit-utils
Severity: wishlist

It's that time of the month again :-)
$ last

wtmp begins Thu Apr  2 23:01:04 2009

I wish last would always just show oh, a month's worth of entries.
OK, I'll use this workaround:

{ last; last -f /var/log/wtmp.1;}|
perl -nwle 'next if /^$|wtmp.*begins/;print;exit if $.==22'

No longer does last act like a sawtooth wave depending on the day of the
month.



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

Reply via email to