How to find the files that are accessed before 10 minutes?

Answer Posted / alex

find -type f -amin -10

Explanation: Find all files (excluding directories) from the
current directory which have been accessed no more(-) than
10 minutes ago.

Is This Answer Correct ?    31 Yes 9 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


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1758


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

954


What do chgrp command do?

590


What is the difference between awk and grep?

558






Is grep faster than awk?

557


Explain command to display different lines that are found when compare two files?

676


What do know about tee command?

601


How do I use grep to find a file?

579


What is the use of finger command?

598


How do I use nslookup?

573


What command is used to switching between users in unix?

560


How do I delete files from command prompt?

549


Is ‘du’ a command? If so, what is its use?

634


Explain mount and unmount command.

613