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

Answer Posted / diksha kakkar

the command is - find . -mtime -30 -print

Here you are telling find to list the files that were
modified with in last 30 days. You can increase the span of
time that "find" will report back on or go to a more
restricted time period.

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain ‘system calls’ with respect to unix commands?

605


What is the command to compare two files in unix?

624


What is a bash command?

627


What is nr in awk command?

606


What is the nmap command?

585






What is used to type command?

544


Differentiate cat command from more command.

578


How does the system know where one command ends and another begins?

1579


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

1254


Who command in unix?

577


How do I use grep to find a file?

583


What is the use of sed command in unix?

601


Name the unix command to find how many days the server has been up.

605


What is the command to find hidden files in the current directory?

585


What are file commands?

656