How can I grep for 1 weeks of information
I am using Red Hat Workstation 5, 64 bit.
I have some log files located in /var/log/logfiles/data.log and wanted to know the commands I should type againt this file, using grept, to capture the last 7 days of information. Each record begins with a date and respective time the event was recorded.
A million thanks,
Johnny Mac
Last edited by johnmccarthy; 04-21-2012 at 12:56 PM.
Reason: Further explaination
|