Say I want to grab the last 5
mentions of cron in
/var/log/syslog.log looking over the grep manual it seems like I can't get grep to search in reverse. I can however grab the most recent occurrences.
grep cron -m 5 /var/log/syslog
Is there a reverse grep command I can use? :)