Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Linux で 1 つのディレクトリが作成された正確な時刻を見つける必要があります。やった :
長いリストの場合は ls -lart
出力は次のようになります。
drwxr-xr-x 2 sugagraw dba 4096 11 月 10 日 20:41 デバッグ
このディレクトリ作成の正確な時間 (つまり、ミリ秒も) を見つけることができるコマンドはありますか。
最終変更日時についてこれを試してください:
stat -c %y MyDirectory
そしてこれは作成日時の場合:
stat -c %w MyDirectory
ところで: 作成日時は、これらのファイルシステムでのみ利用可能です:
ufs2、zfs、ext4、btrfs、jfs