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

Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

0 Answers  


Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance

3 Answers   TCS,


Briefly, how do you install Oracle software on UNIX.

2 Answers  


what is mount ,tell me about mount ,how can u use in real time project??

12 Answers   Symphony,


What does the command ' $who | sort –logfile > newfile' do?

0 Answers  






what is the cmd to display the last exit status in UNIX?

5 Answers   MEIT, Syntel,


When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?

3 Answers  


Can you enlist some commonly used network commands?

0 Answers  


What are some command words?

0 Answers  


What are bash commands?

0 Answers  


how will you login one server's shell prompt to an another server?

5 Answers   Cosmic Infotech, Perot Systems,


what is kernel?

6 Answers  


Categories