["Followup-To:" header set to comp.os.linux.misc.]
On Wed, 24 Aug 2005 08:06:23 -0700, David Smith staggered into the Black
Post by David SmithIs there any utility that will tell me the last time a file was accessed
/bin/stat -c '%x' filename
Also try %X. Note that this information will be useless if your
filesystem was mounted with noatime. atime info is usually not very
useful, so lots of people mount their filesystems with noatime for a
slight performance improvement.
Post by David Smithor used/executed (not necessarily modified)
? Only 3 times are stored, atime, ctime, and mtime. atime is the last
access time. ctime is the last time the file had a status change, like
if it was chmodded or chattred. mtime is the last time the file was
modified.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL