===========shuxiangguo============
Learning from http://roclinux.cn/?p=49
Du:disk Usage HDD Usage
1, Du-h.
“.” Represents the current directory. can also be replaced by a clear path
-H means to use K, M, G to facilitate people to read the form of display
2, du-d 1.
-D represents the iteration depth, and the current directory depth is 0 1 for the deepest iteration to the next depth of the current directory, and the equivalent command is du--max-depth 1. You can view more detailed information through man du.
3. Du-ah ABC
Lists the size of all directories and files under the ABC directory and its subdirectories:
-a means including directories and files
4. DU-0H ABC
More information about the ABC directory and the size of subdirectories is listed under one screen
0 (bar 0) indicates the information for each directory listed, not wrapping, but outputting the information of the next directory directly.
--------------Linux command du