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 is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1313


Does cp command overwrite files?

1202


How does shebang work?

1068


What does this command do? Cat food 1 > kitty

1586


Explain command to display different lines that are found when compare two files?

1178


What is the functionality of a top command?

1106


What is the command to view process running?

1108


How does the system know where one command ends and another begins?

2251


What is time_t?

1113


Who command in unix operating system?

1138


What does the “echo” command do?

1152


What difference between cmp and diff commands?

1301


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

1214


What is the use of sed command in unix?

1205


What is “chmod” command?

1174