I am looking to grep an Apache access_log file from a specific date/time to the end of the file, so for example I want to grep from the first match of the following string to the end of the file:19/Jan/2016:22:What is the simplest way to do this?
How to grep a log file from specific date to end of file?
grep
Provided there are fewer than 999,999 lines:grep -A 999999 '19/Jan/2016:22:' access_logBut this would be a better solution as it doesn't restrict the number of lines after the match:sed -n '/19\/Jan\/2016:22:/,$p' access_log