English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux stat command is used to display the content of the inode.
The stat command displays the content of the inode in text format.
stat [File or Directory]
To view the inode content of the testfile, you can use the following command:
stat testfile
The output result of executing the above command is shown below:
# stat testfile #Input Command 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: 2019-08-13 14:07:20.000000000 +0800 Modify: 2019-08-13 14:07:07.000000000 +0800 Change: 2019-08-13 14:07:07.000000000 +0800