df -h

扩展:

1.查看当前文件夹所有文件大小

du -sh *

2.查看指定文件下所有文件大小

du -h /data/

3.查看指定文件大小

du -h install.log

4.查指定文件夹大小

du -sh /data