Linux Command Encyclopedia Disk Management: Du

Source: Internet
Author: User
Keywords Linux Disk Management command encyclopedia
Tags aliyun block command encyclopedia directory disk disk management displays file

Feature Description: Displays the size of the directory or file.

Grammar: du&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-ABCDHHKLMSSX] [-L < symbolic connection] [-x < file] [--block-size] [--exclude=< directory or file [--max-depth=< directory Layer [--help] [--version] [Directory or file]

Supplemental Note: Du displays the disk space occupied by the specified directory or file.

Parameters:
A or-all displays the size of individual files in the directory.
-B or-bytes displays the directory or file size in bytes.
-C or--total displays the sum of all directories or files in addition to the size of individual directories or files.
-D or--dereference-args displays the source file size for the specified symbolic connection.
-H or--human-readable to k,m,g to improve the readability of the information.
The-H or SI is the same as the-h parameter, but K,m,g is a unit of conversion in 1000.
-K or--kilobytes in 1024 bytes.
-L or--count-links a file that calculates hardware connections repeatedly.
The source file size for the symbol connection specified in the-l< symbol connection > or--dereference< symbol connection > Display option.
-M or--megabytes in 1MB.
-S or--summarize displays totals only.
When-S or--separate-dirs displays the size of an individual directory, it does not contain the size of its subdirectories.
-X or--one-file-xystem the file system at the start of the process, and if you encounter a different file system directory, skip.
-x< file > or--exclude-from=< file > specify directory or file in < file >.
--exclude=< directory or File > skips the specified directory or file.
--max-depth=< the directory layer > beyond the specified number of layers, ignored.
--help display Help.
--version Displays version information.

Related Article

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.