Write a command to find all of the files which have been accessed within the last 10 days.


The following command will find all of the files which have been accessed within the last 10 days
find / -type f -atime -10 > December.files

This command will find all the files under root, which is ‘/’, with file type is file. ‘-atime -30′ will give all the files accessed less than 10 days ago. And the output will put into a file call Monthname.files.



Explore posts in the same categories: Linux Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • What is Write Command ?
  • The write command enables you to write an actual message on the other terminal online. You have to issue the...
  • Growing Water-Lily Problem ?
  • In the middle of a round pool lies a beautiful water-lily. The water-lily doubles in size every day. After exactly...
  • If I forgot some command in SAP Script e.g.: suppress zero display - How to do find it?
  • Suppressing of entire screens is possible with this command. This command allows us to perform screen processing “in the...
  • What is redo log buffer?
  • Changes made to the records are written to the on-line redo log files. So that they can be used in...
  • Differentiate between .ear, .jar and .war files.
  • These files are simply zipped file using java jar tool. These files are created for different purposes. Here is the...
  • What is use of DESTROY (Ver 7) option in IMP command?
  • A flag to indicate whether the create tablespace command found in dump files from full exports will be executed....
  • What are the three DB2 date and time data types and their associated functions ?
  • The three data types are DATE, TIME and TIMESTAMP.  CHAR can be used to specify the format of each type....
  • Can DB2 be accessed by TSO users? If yes, which command is used to invoke DB2 ?
  • DB2 can be invoked by TSO users by using the DSN RUN command....
  • Is ‘du’ a command? If so, what is its use?
  • Yes, it stands for ‘disk usage’. With the help of this command you can find the disk capacity and free...
  • Difference between next and continue clause ?
  • The difference between the next and continue verb is that in the continue verb it is used for a situation...

    Comment:

    You must be logged in to post a comment.