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 do chmod, chown, chgrp commands do?
What do chgrp command do?
Why is it called grep?
What is the behavioural difference between cmp and diff commands?
How do I search a whole word in vim?
What does this command do,"$more readme.txt“?
Why is awk called awk?
What are reported commands?
What is .sh file?
What does the command '$ls | wc –l > file1' do?
How do I search for text in vi?
why metadb requires a seperate slice to create Solaris volume manager
Why is it called a shebang?
How do I delete files from command prompt?
How to display no of records in oracle using unix command?