command to find all of the files which have been accessed within the last 30 days in linux

Question : command to find all of the files which have been accessed within the last 30 days?
Answer :find / -type f -atime -30 > December.files This command will find all the files under root, which is ‘/’, with file type is file. ‘-atime -30′ will give all the files accessed less than 30 days ago. And the output will put into a file call December.files.

No comments:

 
Top Blogs