Linux查看文件夹占用空间

du -sh *   查看当前目录所有文件的各个大小
/home/econf>du -sh *
427M apache-tomcat-6.0.20
16K bin
44M boot
6.7M fileserver
251M jdk1.6.0_24
81M ms
4.8G nginrun
4.0K oracshrc
320K script
8.0K tmp


du -sh  apache-tomcat-6.0.20/  查看当前目录apache-tomcat-6.0.20的各个大小
du -sh apache-tomcat-6.0.20/
427M apache-tomcat-6.0.20/

原文地址:https://www.cnblogs.com/qqzy168/p/3196099.html