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 is ctrl d?

596


How do I use nslookup?

577


What is the general format of unix command syntax?

694


What are the dos commands?

652


How do I search for text in vi?

588






Explain command to view process running?

617


Using unix command how to display no of records in oracle?

613


Which command can you use to find the currently running process in unix server?

589


What is grep command in unix with examples?

612


What is grep short for?

558


Which command is used to copy files?

556


Why is it called a shebang?

574


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

645


What does the md command do?

578


What is the use of the command 'ls -x chapter[1-5]' ?

663