du命令可以获取各文件空间消耗
-h, -k 参数含义与其他命令一样
-s: Only display a grand total
-c: produce a grand total
-a: include files, not just directories
[oracle@odilab tt]$ du -a
210264 ./3.txt
4 ./1.txt
4 ./t1/t2.txt
4 ./t1/t1.txt
12 ./t1
475228 ./4.zip
685512 .
[oracle@odilab tt]$ du
12 ./t1
685512 .
[oracle@odilab tt]$ du -s
685512 .
[oracle@odilab tt]$ du -c
12 ./t1
685512 .
685512 total