How to find the files that are accessed before 10 minutes?
Answer Posted / 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 |
Post New Answer View All Answers
What is {} in find command?
hw will u use awk in replacing cahrs and files
What is grep command in unix with examples?
Which command should you use to find the remaining disk space in unix server?
Describe the usage and functionality of the command rm –r * in unix?
What is used to type command?
What is the difference between cat command and more command?
What do chgrp command do?
What is awk used for?
What does find command return in unix?
What is the use of awk command in unix?
How to display no of records in oracle using unix command?
How do I search for a file in unix command?
What is rmdir command?
What is the use of cut command in unix?