Answers:
最常用的命令是stat(1)
。一些变体,尤其是GNU stat,允许指定输出格式,从而简化了解析。
$ stat t.txt
File: ‘t.txt’
Size: 48 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 7078223 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 500/ ignacio) Gid: ( 500/ ignacio)
Context: unconfined_u:object_r:user_home_t:s0
Access: 2013-06-25 09:04:32.600422989 -0400
Modify: 2013-06-24 00:10:57.925679368 -0400
Change: 2013-06-24 00:10:57.970679307 -0400
Birth: -
ls
吗?根本原因可能会阻止其他类似命令也起作用。