[SLUG] ls files amended in the last five minutes

Stephen O'Neill soneill84 at yahoo.co.uk
Fri Mar 18 10:33:42 GMT 2005


> I don't think there's a .log or a .err file
>containing that info, so now I want to cause the error, and then
>straight away look for any files altered in the last, minute, say.
>
>How do I do that? ls doesn't seem to have a date filter. 
>
To find all files modified in the last 5 minutes try:

find / -mmin 5 -print

Logs may live in /var/log/[mysql].

Steve





More information about the Scarborough mailing list