IT Questions and Answers :)

Tuesday, March 20, 2018

For files in Unix and Linux, "atime" means most recent access time. What does "ctime" mean?

For files in Unix and Linux, "atime" means most recent access time. What does "ctime" mean?

  • the time that file was most recently copied
  • the file's data change time
  • the file's status change time
  • the file's creation time 
For files in Unix and Linux, "atime" means most recent access time. What does "ctime" mean?

EXPLANATION

atime is access time, or when the file was last read.
mtime is modification time, or when the file's data was last modified.
ctime is change time, or when the files status (metadata) was last changed.  Metadata, data about the file as opposed to data in the file, is held in the file's inode.
Unix jargon for "the time a file's status last changed". Change time and creation time (ctime)Unix and Windows file systems interpret 'ctime' differently:Unix systems maintain the historical interpretation of ctime as being the time when certain file metadata, not its contents, were last changed, such as the file's permissions or owner (e.g. 'This file's metadata was changed on 05/05/02 12:15pm').    Windows systems use ctime to mean 'creation time'[citation needed] (also called 'birth time') (e.g. 'This file was created on 05/05/02 12:15pm').


SOURCE

https://www.tldp.org/LDP/Linux-Dictionary/html/Linux-Dictionary.html
Share:

Popular Posts

Blog Archive