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 time_t?
What are the general commands in using unix os for a beginner?
What command will change your prompt to myprompt?
Can you explain a little bit about command substitution?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Explain mount and unmount command.
Does cp command overwrite files?
How does shebang work?
What is awk command used for?
What is grep short for?
Is command prompt unix?
Who command in unix?
What is a command and examples?
What is the unix command to confirm a remote host is alive or not?
Write a command to kill the last background job?