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


Please Help Members By Posting Answers For Below Questions

What are the unix commands?

557


Why is shebang used?

595


Why is it called a shebang?

568


How does shebang work?

586


Which command is used to kill the last background job?

771






What does pipe () return?

592


What do know about tee command?

601


Are you in or at the office?

609


Enumerate some of the most commonly used network commands in unix?

616


How can you see the command line history?

582


What do chmod, chown, chgrp commands do?

633


What is command statement?

541


Is grep faster than awk?

557


How do you grep recursively?

555


why metadb requires a seperate slice to create Solaris volume manager

2553