Document directory
Display file information
Stat [Options] [File-list]
Parameters
File-listSpecifyStatThe path name of one or more files displayed.
Option
-F: displays information about the file system, not the file information.
Example stat
$ Stat demo.tar.bz2 file: "demo.tar.bz2" Size: 133 blocks: 8 IO blocks: 4096 common file devices: 808 h/2056d Inode: 671938 hard link: 1 permission: (0644/-rw-r --) Uid :( 1000/siu) Gid :( 1000/siu) Recent access: 18:51:13. 979123414 + 0800 recent changes: 17:40:27. 075695222 + 0800 latest changes: 17:40:27. 075695222 + 0800 Creation Time :-
Show File Information
Stat-f
$ Stat-f/file: "/" ID: d2c798526f17cef7 File Name Length: 255 type: ext2/ext3 block size: 4096 basic block size: 4096 blocks: Total: 4130144 idle: 1924228 available: 1714424 Inodes: Total: 1050576 idle: 773152
Display file system information