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
A pre import Access tool
spt_values - how do you use it..
C# code not being called for special URLs in my website
getting a count of records to not include null or empty records
How to create an NTFS partition in Fedora
How to maintain a value in memory for use by clases in asp.net Web Service
Jquery Traversing
How to get query cretaed by the prepare statement in PDO
Anyway to search a large text file without loading it into memory?
Opening files from Windows Explorer is slow