Microsoft
Software
Hardware
Network
Question : Scripting help using LAST command
I'm trying to write a script that will output the login information for the last week (7 days). It doesn't look like there are too many options for this using the built-in switches with LAST. Was thinking I would probably have to GREP the output I receive but how would you specify to go back 7 days. I think it would especially get confusing when you are at the begining of the month and your 7 day query would flow into the previous month. Any help would be appreciated.
Thanks
Answer : Scripting help using LAST command
It's a filter:
last | script.pl
where script.pl is the name of the above script.
Random Solutions
SQLSERVER 2005 mirroring
Recursive Query ?
Eclipse and Tomcat: HTTP Status 404
VFP Thisform.List1.Additem() net works
cisco 2900xl unable to ping out or into switch
PHP: Find and Replace only 1st occurance
Install Office Pro 2003 and 2007
Exchange 2003 - Cant receive or send external emails after ISP change
exchange 2003, email box count
Unable to answer inbound calls - Asterisk PBX - Polycom 330