i want to know the command which show the date of creation of file
hi,
i am newbie in linux i just want to know there is any command which show me the date on which i create the file/directory. pls help me |
have you tried ls -l inside the directory of the file?
|
thanks,
but this command shoe the modify time of the file doesnot show the date on which the file/directory is created |
thanks,
but this command show the modify time of the file doesnot show the date on which the file/directory is created |
Quote:
I know its 6 month old thread and i should not bump it again but i think this will help other . As of now there are only few Linux distributions that support creation date for files (They call it birth time).Rest dont support files with creation date. |
Umm, it's not a 6 month old thread, it's a nearly 6 year old thread.
And while what you say is true, it's not exactly a "Linux" thing, but a filesystem support issue. The metadata fields on *nix filesystems have traditionally recorded three kinds of date; atime, ctime, and mtime. atime is the last access time, and ctime is change time, the last time the file metadata was updated. mtime is the last modified date of the file contents. It's the closest thing to a creation time traditionally available. Essentially, *nix filesystems have treated each modification as a completely new file, a replacement rather than an update. Recently there's been some work towards adding a proper creation time field to *nix filesystems. ext4, at least, appears to have added this new crtime field. Most system tools and applications have yet to be updated to handle it, however. http://flyingunix.blogspot.com/2010/...s-in-ext4.html Interestingly, according to the above, there seems to also be a dtime deletion date field, but I have no idea what good that's supposed to be. |
Quote:
|
All times are GMT -5. The time now is 03:12 PM. |