Tagged with: ext file-tar file system pre-specified Inode tle
Displaying information about a file
Stat [options] [file-list]
Parameters
file-list Specifies the path name of one or more files displayed by stat
Options
-F Displays information about the file system, not the file
ExampleStat
$ stat demo.tar.bz2 file: "demo.tar.bz2" Size: 133 Block: 8 IO block: 4096 normal file device: 808h/2056d inode:671938 Hard Links: 1 permissions: (0644/-rw-r--r--) Uid: (1000/ Siu) Gid: (1000/ Siu) last visited: 2013-01-13 18:51:13.979123414 +0800 Last modified: 2013-01-12 17:40:27.075695222 +0800 Recent Changes: 2013-01-12 17:40:27.075695222 +0800 creation Time:-
displaying file information
stat-f
$ stat-f/ file: "/" id:d2c798526f17cef7 filename Length: 255 Type: EXT2/EXT3 block size: 4096 base block size: 4096 Blocks: total: 4130144 idle: 1924228 available: 1714424Inodes: total: 1050576 idle: 773152
displaying file system Information
42-stat Concise Notes