Finding File Creation Time in Linux

The other day I was looking around for timestamp at which file is created,</p>

I tried ls -l
read stat man pages

and after landed to conclusion that we  can't find creation time for a file. It isn't stored anywhere.

However with ls -l we can find last-modified time
and last-accessed time (using "ls -lu")
and an inode change time (using  "ls -lc").

The latter is often referred to as the "creation time" - even in some man pages -but that's wrong; it's also set by such operations as mv, ln, chmod, chown and chgrp.

comments powered by Disqus