du
du # 当前目录中每个文件、文件夹的大小du -a # 除了文件夹之外,也显示每个单独的文件的大小du -h # human readabledu -c # 附加 total sizedu -s # 只显示总结,不能和 -a 一起使用du --exclude="*.xml" --exclude="*.xsl"du -X exclude_list.txt -X exclude_list2.txt### exclude_list.txt #### *.xml# *.xsl
df
df # 本机所有文件系统的存储使用情况df . # 当前目录所属的文件系统的存储使用情况df -h # human readable
