Problem scenario: In Linux, you want to view log activity captured recently. Looking through all the logs in /var/log can take a great deal of time. How do you correlate a recent event by finding log files that were modified in the past 10 minutes?
Solution
Run this command:
find /var/log -mmin -10
This command will find files in /var/log and its subdirectories. It will only find files that were modified within the past 10 minutes. This should help you find the event in the logs to the extent was captured.