42-stat Concise Notes

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.