du -h --max-depth=1
1 # du -h --max-depth=1 2 532K ./tmp 3 14M ./sbin 4 216M ./lib 5 du: cannot access `./proc/2419/task/2419/fd/4': No such file or directory 6 du: cannot access `./proc/2419/task/2419/fdinfo/4': No such file or directory 7 du: cannot access `./proc/2419/fd/4': No such file or directory 8 du: cannot access `./proc/2419/fdinfo/4': No such file or directory 9 0 ./proc 10 160K ./dev 11 219M ./var 12 59M ./boot 13 642M ./usr 14 4.0K ./cgroup 15 20K ./home 16 16K ./lost+found 17 0 ./selinux 18 4.0K ./mnt 19 23M ./etc 20 125M ./root 21 5.9M ./bin 22 4.0K ./srv 23 20M ./lib64 24 4.0K ./media 25 4.0K ./opt 26 0 ./sys 27 1.3G .
很好用吧,呵呵,在清理服务器空间时,很用得着哟。。