Write a command to find all of the files which have been accessed within the last 10 days.



The following command will find all of the files which have been accessed within the last 10 days
find / -type f -atime -10 > 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 10 days ago. And the output will put into a file call Monthname.files.




Explore posts in the same categories: Linux Interview Questions


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |


Comment:

You must be logged in to post a comment.