So basically I have a log file and each line in this log file starts with a timestamp:
MON DD HH:MM:SS
SEP 15 07:30:01
I need to grep all the lines between last hour timestamp and current timestamp. Then these lines will be moved to a tmp file from which I will grep for particular strings.
The issue I'm having, is with timestamp conversion and how to grep last hour timestamp in that format.
Using: Solaris 11
Thanks