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

What is s and g in sed command?

557


What is unix command?

584


What is rmdir command?

551


why metadb requires a seperate slice to create Solaris volume manager

2552


What is the command to find maximum memory taking process on the server?

668






Who wrote grep?

579


What are the differences among a system call, a library function, and a unix command?

567


How do I search for text in vi?

584


What is the behavioural difference between cmp and diff commands?

672


How do I search for a file in unix command?

546


What is the use of the tee command?

598


Is grep faster than awk?

557


What is updatedb?

584


Are you in or at the office?

609


How to find $ai_serual resolved path by using unix

1024