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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux