On Sat, 02 Dec 2000 05:05:41 Bob Puff@NLE wrote:
> Thanks for the reply, but that doesn't work.  At least in the form:
> 
>  find /etc/* -amin 8
> 
> Seems to return some files that have been created long ago.  The actual files
> do 
> seem to change with time.  Example:
> 
> [root@main postfix]# date
> Fri Dec  1 22:55:43 EST 2000
> [root@main postfix]# find /etc/* -amin 10
> /etc/fstab
> /etc/host.conf
> /etc/hosts
> /etc/postfix/virtual.db
> /etc/postfix/sender_access.db
> /etc/postfix/header_checks
> [root@main postfix]# dir
                       ^^^
Please, remember you are on a Unix system....

'ls' gives by default the modification time, and the flag -amin looks for
files 'accesed' less than n minutes ago. That includes acess for reading
and making no change. 

Perhaps you should try with the following flags:
- ls: no flags give the modification time, -u flag gives the acces time
      including last time accesed for read
- find: -amin or -atime, access (including reads). 
        -mmin or -mtime, modification

See man pages for more details.

-- 
Juan Antonio Magallon Lacarta                                 #> cd /pub
mailto:[EMAIL PROTECTED]                                     #> more beer

Linux 2.2.18-pre24-vm #2 SMP Wed Nov 29 02:56:21 CET 2000 i686 unknown


Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to