How to find the files that are accessed before 10 minutes?
Answers were Sorted based on User's Feedback
Answer / alex
find -type f -amin -10
Explanation: Find all files (excluding directories) from the
current directory which have been accessed no more(-) than
10 minutes ago.
Is This Answer Correct ? | 31 Yes | 9 No |
Answer / 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 |
Answer / kirus
ls - ltr
it will show the the files with latest acces time in that
we can find the files that are accessed before 10 minutes
Is This Answer Correct ? | 0 Yes | 17 No |
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance
Briefly, how do you install Oracle software on UNIX.
what is mount ,tell me about mount ,how can u use in real time project??
What does the command ' $who | sort –logfile > newfile' do?
what is the cmd to display the last exit status in UNIX?
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
Can you enlist some commonly used network commands?
What are some command words?
What are bash commands?
how will you login one server's shell prompt to an another server?
5 Answers Cosmic Infotech, Perot Systems,
what is kernel?