Write a command to find all of the files which have been
accessed within the last 30 days.
Answer Posted / pk
find / -type f -atime -30 > November.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 November.files.
| Is This Answer Correct ? | 39 Yes | 2 No |
Post New Answer View All Answers
What is the difference between awk and grep?
Which command is used to delete all files in the current directory and all its sub-directories?
how to sort the content of the file based on numeric values
What is pipe command in unix?
Write a command that will display files in the current directory, in a colored, long format.
How do you repeat a command in terminal?
What is command substitution?
Write a command to kill the last background job?
How do I search a whole word in vim?
What does the “echo” command do?
What are bash commands?
What is grep short for?
What is the first character of the output in ls l command?
How do I run a whois command?
What is the command to find maximum memory taking process on the server?