0

I need to find the exact time at which one directory was created in Linux. I did :

ls -lart for long listing

for which output is like :

drwxr-xr-x 2 sugagraw dba 4096 Nov 10 20:41 debug

Is there a command by which I can find the exact time (ie: miliseconds also) of this directory creation.

4

1 回答 1

1

Try this for last modification datetime:

stat -c %y MyDirectory

and this for creation datetime:

stat -c %w MyDirectory

BTW: The creation datetime is only available on these filesystems:

ufs2, zfs, ext4, btrfs, jfs

于 2013-11-11T09:35:26.987 回答