How to find recently modified files in Linux

If you came into work and found out that some changes has made without leaving any documentation for you, In that case Linux have a quite powerful command which can help you to get the list of of all recently modified files.

All you would need to do is type following command,This command will find out the files that have been modified within last 3 days.

find . -mtime -3

To be more specific and if you just want to check for the file change time, use:

find . -ctime -3

You can also set a date range by using: 

find . -ctime +1 -a -ctime -3

This will find all files changed, and thus modified, at least one day ago but within three days.

Leave a Reply

Your email address will not be published. Required fields are marked *