i am using ubuntu and want to know the creation time of a file even when it gets modified or accessed ?
Windows file propertiesRight-click the file and select Properties. In the Properties window, the Created date, Modified date, and Accessed date is displayed, similar to the example below.
The easiest way to get the file creation date is with the stat command. As we can see, the creation date is shown in the “Birth” field.
A. You can use ls -l command (list information about the FILEs) to find our the file / directory owner and group names. The -l option is known as long format which displays Unix / Linux / BSD file types, permissions, number of hard links, owner, group, size, date, and filename.
The fhist program is used to keep track of the successive versions of a file. Using this program, you can remember all of your changes to a file, and get back any one of the old versions.
Unfortunately Unix does not store the creation time of a file.
All you are able to get using stat is
Note: When using filesystem type ext4 crtime is available!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With