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.