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

Answer Posted / jyoti pruthi

find / -atime -30

Here,
/ is for root directory
-atime is for access time
-30 is for within 30 days

It will give the details of the file that have been accessed
within the last 30 days.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general format of unix command syntax?

698


What is grep command in unix with examples?

616


What is the difference between grep and grep?

577


What is s and g in sed command?

567


What does touch command do in unix?

741






how to sort the content of the file based on numeric values

1262


Which command is used to create a directory?

579


What is “chmod” command?

570


What does grep v grep do?

558


Which command is used to copy files?

567


How do I use grep to search for a file?

586


Write a command to kill the last background job?

626


Is grep faster than awk?

573


What does grep v do?

566


What is $0 bash?

655