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
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Does cp command overwrite files?
How does shebang work?
What does this command do? Cat food 1 > kitty
Explain command to display different lines that are found when compare two files?
What is the functionality of a top command?
What is the command to view process running?
How does the system know where one command ends and another begins?
What is time_t?
Who command in unix operating system?
What does the “echo” command do?
What difference between cmp and diff commands?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the use of sed command in unix?
What is “chmod” command?