TECHIES WORLD

For Techs.... Techniques.... Technologies....

CpanelLinux

Find files modified within last 24 hours in Linux server

We can use 'find' command to get the list of files.

#find . -mtime -1 -type f -exec ls -l {} \;

This will list all the files modified within last 24 hours in the current folder recursively.

 

Leave a Reply