How can I count the number of lines that begin with the date and time stamp that matches one hour or less from now?
The file in this location /home/liamcomfort/my.log
.
An example of the log's format is:
Nov 10 04:03:00 Friendly. Wholesale sweaters, no problems, sometimes overnight, inexpensive than large element.
Nov 10 04:03:07 Now want to grab the spotlight form the official website.
Nov 10 04:04:01 No matter who, overall planning, implementation than electric. I will be traveling to Japan tomorrow, at best.
Nov 10 04:04:01 Get's not, the element of which that can be used, unless the slough, the bow to the policies, comprehensive package