Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is time_t?

1163


What are the general commands in using unix os for a beginner?

1221


What command will change your prompt to myprompt?

1387


Can you explain a little bit about command substitution?

1164


Explain how to use grep command to list find the records of a file containing 10 different strings?

1127


Explain mount and unmount command.

1280


Does cp command overwrite files?

1271


How does shebang work?

1123


What is awk command used for?

1328


What is grep short for?

1105


Is command prompt unix?

1225


Who command in unix?

1192


What is a command and examples?

1288


What is the unix command to confirm a remote host is alive or not?

1282


Write a command to kill the last background job?

1155