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 happens when we execute a unix command?
How does shebang work?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
How do I open a port?
Can you enlist some commonly used network commands?
Which command is used to restrict incoming messages?
What is s and g in sed command?
Which unix command lists files/folders in alphabetical order?
How does the system know where one command ends and another begins?
What command is used to check the current users?
What is .sh file?
What does the “echo” command do?
Is command prompt unix?
What do know about tee command and its usage?
Explain mount and unmount command.