Creation date of a file is not directly available using the popular 'ls' command . ls displays the last modified date of the file instead of creation date/time.
Then How to get the creation date of a file. Here is the solution.
- Get the Inode value of the File using the command below
ls -i filename
- Use 'mount' command to find out the disk where the file resides
- Use the Command below with above details to get File system Struct information
debugfs -R 'stat <1045343>' /dev/mapper/lg_volume_21045343>
Example output is given below: