Which command will find all the files which are changed in last 1 hour?

Which command will find all the files which are changed in last 1 hour?
Answer
You can use -mtime option. It returns list of file if the file was last accessed N*24 hours ago. For example to find file in last 2 months (60 days) you need to use -mtime +60 option. -mtime +60 means you are looking for a file modified 60 days ago.
 

Tìm kiếm

Back
Top