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


Please Help Members By Posting Answers For Below Questions

What do chmod, chown, chgrp commands do?

638


What do chgrp command do?

590


Why is it called grep?

559


What is the behavioural difference between cmp and diff commands?

674


How do I search a whole word in vim?

693






What does this command do,"$more readme.txt“?

689


Why is awk called awk?

577


What are reported commands?

566


What is .sh file?

620


What does the command '$ls | wc –l > file1' do?

682


How do I search for text in vi?

586


why metadb requires a seperate slice to create Solaris volume manager

2556


Why is it called a shebang?

573


How do I delete files from command prompt?

549


How to display no of records in oracle using unix command?

589