Write a command to find all of the files which have been accessed within the last 30 days. 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. This command is run in the background due to &. Relevance Read:
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|