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 {} in find command?

1120


hw will u use awk in replacing cahrs and files

3250


What is grep command in unix with examples?

1227


Which command should you use to find the remaining disk space in unix server?

1318


Describe the usage and functionality of the command rm –r * in unix?

2109


What is used to type command?

1067


What is the difference between cat command and more command?

1216


What do chgrp command do?

1230


What is awk used for?

1141


What does find command return in unix?

1165


What is the use of awk command in unix?

1136


How to display no of records in oracle using unix command?

1176


How do I search for a file in unix command?

1025


What is rmdir command?

1119


What is the use of cut command in unix?

1379