find ./ -type d -maxdepth 1 -exec du -h -s {} \;
2.5G ./
48K ./lost+found
98M ./var
10M ./etc
8.0K ./media
4.4M ./bin
9.4M ./boot
96K ./dev
265M ./home
4.0K ./initrd
111M ./lib
8.0K ./mnt
4.0K ./opt
257M ./proc
2.7M ./root
11M ./sbin
4.0K ./srv
0 ./sys
12K ./tmp
1.7G ./usr
2.7M ./share
684K ./tftpboot
或是
du -h --max-depth=1
48K ./lost+found
98M ./var
10M ./etc
8.0K ./media
4.4M ./bin
9.4M ./boot
96K ./dev
265M ./home
4.0K ./initrd
111M ./lib
8.0K ./mnt
4.0K ./opt
257M ./proc
2.7M ./root
11M ./sbin
4.0K ./srv
0 ./sys
12K ./tmp
1.7G ./usr
2.7M ./share
684K ./tftpboot
2.5G .
0 comments:
Post a Comment