Is there a command in linux to check all timestamps of a file?
I'm trying to see the Last modified, created, and touched dates on the file.
|
Is there a command in linux to check all timestamps of a file? I'm trying to see the Last modified, created, and touched dates on the file. |
|||
|
The command is basically called
If you want to adjust the format, refer to the manpages, since the output is OS-specific and varies under Linux/Unix. Generally, you can get the times through a normal directory listing as well:
And of course, |
||||
|
|
struct statwithout breaking things, unfortunately...) You can try outdebugfs -R "stat <1234>" /dev/sdXYfor ext4, replacing1234with an ino. – grawity Feb 7 '12 at 17:03