How to find the files that are accessed before 10 minutes?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is merge command in unix?
What does mkdir up2date; touch outdated up2date do?
What is the nmap command?
Which command will print your home directory on screen?
Which command is used to find whether the system is 32 bit or 64 bit?
Give command that will make the file "run.sh" executable?
what is the difference between npar and vpar in HP-UX?
How we will execute previous command in vi editor?
what is virtual machine?
Using unix command how to display no of records in oracle?
how to unzip the contents of the gzip file
which command is used to change group?