Re: how to find files which are accessed at a particular time in red hat 8



On 21/02/2008, Pankaj Batra <pankajbatra.c1191@xxxxxxxxxxxxxxxx> wrote:
Hi folks..
Please tell how to find files which are accessed at a
particular time in red hat 8

Thanks.


Pankaj.


This will find all files in the current directory (.) which have been
accessed more than 3 days ago:

$ find . -atime +3

You can check for files which have been accessed less than 3 days ago
by specifying -3, or for files that have been changed 3 days ago, by
dropping the sign. You could also specify minutes instead of days by
using -amin instead of -atime.

FWIIW:
atime = the last time the file was opened for read
mtime = the last time the file was closed after it was opened for write
ctime = the time the inode information was updated (e.g. as a result
of a chmod or chown)

Kind regards,

Herta
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: printing to a filename
    ... > it specifying a full path and filename)? ... Kind regards, ... Odbc4All - Connection to ODBC Data Sources for any Application ...
    (microsoft.public.win2000.printing)
  • Re: Running another program in daemon server
    ... You may be specifying the path as "\path\to\perl" which won't work. ... (ditto for the path to the client) ... Generally specify paths for systemwith '/' instead of '\' and life ...
    (comp.lang.perl.misc)