find

Gary Tyson tyson at csusac.csus.edu
Tue Dec 12 17:07:48 AEST 1989


In article <21721 at adm.BRL.MIL> SIMSN%NUSDISCS.BITNET at cunyvm.cuny.edu writes:
>
>
> Can anyone explain what's the difference between atime, mtime,
> ctime?
>
> I'm not sure how to interpret "accessed", "modified" and
> "changed". Seems to me like it all meant when the file was
> "touched".

You are correct in thinking "a" is access etc.
But...  When you "touch" a file you make it appear to have been modified.

Access time is changed when a file is read or modified (true if touched)
Modify time is changed when a file is modified (but read alone isnt enough)
Change time is changed when a file's inode is modified (this is also true
    if a file is modified)

You might try the manual entry for stat for more info. (Or man -k time)

Hope this helps.


      Gary Tyson

P.S.  I am still looking for a book on a.out and ld...  Help!



More information about the Comp.unix.questions mailing list