df -h 看看你的系統盤的總的使用情況。。。。
du -h 當前目錄下面什麼都看了。。。
du -sh 當前目錄總空間。
du -sh `ls` 當前目錄下所有的文件夾含量。。。
顯示前10個佔用空間最大的文件或目錄:
du -s * | sort -nr | head
du /home --max-depth=1 -h
--max-depth參數代表着要列出目錄的深度
root@liu-laptop:/work_two/Linux-Android/src/eclair_2.1_farsight/build#
du --time -h --max-depth=1
60K 2011-05-17 13:26
./libs
5.6M 2012-05-26 09:07
./tools
148K 2011-05-25 15:16
./target
48K 2011-05-17 13:26
./history
584K 2011-09-16 13:58
./core
6.5M 2012-05-26 09:07
.