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

What do know about tee command and its usage?

0 Answers  


how to delete entire records in unix ?

13 Answers   Cap Gemini,


How many unix commands are there?

0 Answers  


what is the use of ls -l command & what is the information it gives about user ?

5 Answers  


Which unix command to make a new directory?

0 Answers  






distinguish between paging and swapping?

3 Answers   Infosys,


what are processor execution levels and priorities?

2 Answers   Infosys,


What does the md command do?

0 Answers  


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

0 Answers  


What is grep short for?

0 Answers  


how to make IGNITE-BACKUP in HP-UX?

4 Answers   HP,


Enumerate some of the most commonly used network commands in unix?

0 Answers  


Categories