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

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

1131


What are the commands in UNIX to list the files in a Directory?

1126


Which command is used to kill the last background job?

1299


What is the use of the command 'ls -x chapter[1-5]' ?

1168


Does cp command overwrite files?

1148


What is the use of finger command?

1162


What are reported commands?

1088


How do I run a bash script?

1140


What does the command '$ls | wc –l > file1' do?

1189


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1272


How do I search a whole word in vim?

1142


What does the command ' $who | sort –logfile > newfile' do?

1248


Why is it called grep?

978


What is the command to view process running?

1077


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

1161