Interview Prep/Linux/Filesystem Hierarchy, Inodes & Links

What are the three timestamps on a file?

IntermediateConceptFilesystem Hierarchy, Inodes & Links
Answer
  • atime: last read access
  • mtime: last content modification
  • ctime: last inode change (permissions, owner, link count, or content)

ctime is not "creation time"; many filesystems also keep a birth time (btime), shown by stat as Birth. Mounting with relatime (the default) reduces atime writes; noatime removes them.

All Linux questions Roadmap: Linux

More on Filesystem Hierarchy, Inodes & Links