find question
Hello,
I've been looking through the find web page and I'm still not sure if I'm
correct.
Say I'm running a web server on a.com.
After telnetting into the box, i want to know how often certain parts have
been accessed.
say the directory structure is:
../
index.html
dir1/
dir2/
and a bunch of other files.
dir1 and dir2 are web sites themselves.
I want to know if anyone has accessed dir1 within the last 60 days. I've
been using find like this:
$ find dir1 -atime 60 -print
Is this the correct command?
Is there an easier or alternative way to find this out without looking at
the logs?
How does "find" check on this anyway?
Sorry for the long email
thanks
andrew
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Reply to: