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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / krishna

find . -mmin -10 -type f -ls

Is This Answer Correct ?    0 Yes 1 No

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

Answer / ashok

echo "this script will put the num of 10 min old files
in /tmp in /tmp/chechold.txt
file "
find /tmp -size 0 -a time +10 - exec ls -s {}
\ ; /tmp /checkdd.txt
find /tmp -size 0 -a time +10 -exec rm _f {} \ ;

Is This Answer Correct ?    0 Yes 3 No

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

Answer / sagar

ls -lrt | tail -10

Is This Answer Correct ?    0 Yes 13 No

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

Answer / kirus

ls - ltr
it will show the the files with latest acces time in that
we can find the files that are accessed before 10 minutes

Is This Answer Correct ?    0 Yes 17 No

Post New Answer

More Unix Commands Interview Questions

who to change the duplex setting of network interface in command line

1 Answers  


What command will change your prompt to myprompt?

0 Answers  


Give Command that will move a single file called "unix.txt"

7 Answers   IBM,


What does the “echo” command do?

0 Answers  


What is grep and sed command?

1 Answers  






Name the general commands in using unix os for a beginner?

0 Answers  


Why is it called a shebang?

0 Answers  


Why is it called grep?

0 Answers  


what are the different operating systems available?

3 Answers  


What is the unix command to confirm a remote host is alive or not?

0 Answers  


What is grep command in unix with examples?

0 Answers  


boot process?

2 Answers   Atos Origin, Wipro,


Categories