This is RHEL 5 os. I'm using bsh.
I am trying to grep a log for the current date.
The way the log records the date is in this format:
02/Apr/2015:11:38:44
How do I grep for the current day and month? The rest of the date doesn't matter.
So far this is my command:
grep page.jsp /path_to_log/access.log | grep 404
Id like to include only to search for todays date as I dont care about past dates.