File creation time

Hi Everybody,

I would like to know file creation date and time in linux. I went throgh google and forums got some information but from that i am not sure for my question. Please check the following information.

"ls -l" ==> but it is just gives the last modified time and date of the file.
# stat <filename>==>but it is giving information about access time,
modified time and changing time.

Please share with you answers with me.

Thanks,
Mastan

you can retrieve the creation time in ext4 file system . Other filesystem doesnt have this information.

 
debugfs -R 'stat <INODE_NUMBER_OF_FILE>' /ext4/filesystem

you can retrieve the inode number by using ls -i filename

2 Likes

Very much thnx scott