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
Error: "DataTable already belongs to another DataSet."
Which strategies to use for a program written in python?
MS SQL newbie
Dell Powerconnect switch 3524/48P PC/IP phones daisy chaining Vlan setup
Group policy issues - SBS 2003 to windows 2008 R2 migration
Cisco VLAN
Why am I getting a blank page on this code?
mysql upgrade 4.1 to 5.1
Is c++ com server my solution?
visiting New York for the first time, what should I do and what's the must see's?