Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 12
    Linux doesn't keep track of the creation time since it is not required by POSIX. However, Mac OS X does with the HFS filesystem — look under "birth time" in stat(1). Commented Sep 18, 2013 at 5:15
  • 3
    Fedora 19 ext4 filesystems do set file creation times. I'm sure there are many more examples. See answer below that uses stap to retrieve creation times. Commented Oct 15, 2013 at 13:11
  • 4
    see unix.stackexchange.com/questions/7562/… Commented Feb 25, 2014 at 19:08
  • 2
    *nix systems don't keep track of file creation time. Commented Mar 14, 2014 at 13:56
  • 1
    Also this Q&A: get age of given file Commented Mar 14, 2014 at 14:05