Linux stat command
The Linux stat command is used to display inode contents.
stat displays the contents of the inode in text format.
Syntax
stat [文件或目录]
Examples
To view the inode content of the testfile file, you can use the following command:
stat testfile
Executing the above command outputs the following result:
# stat testfile #输入命令 File: `testfile' Size: 102 Blocks: 8 IO Block: 4096 regular file Device: 807h/2055d Inode: 1265161 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2014-08-13 14:07:20.000000000 +0800 Modify: 2014-08-13 14:07:07.000000000 +0800 Change: 2014-08-13 14:07:07.000000000 +0800Other Extensions
Linux Command Collection