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
Which unix command to make a new directory?
How does pipe () work?
Which unix command lists files/folders in alphabetical order?
What happens when we execute a unix command?
What do chmod, chown, chgrp commands do?
What is in grep command?
What is the difference between awk and grep?
What is the first character of the output in ls l command?
What is the search command in unix?
What is the use of awk command in unix?
Explain the steps that a shell follows while processing a command.
What is the use of sed command in unix?
What is the unix command to confirm a remote host is alive or not?
What is command statement?
Which command is used to delete all files in the current directory and all its sub-directories?