Linux中使用du -d n 显示当前文件目录下文件夹的大小
du -d n
其中
du 代表disk usage 硬盘使用
d 代表directory
n 代表显示当前目录下文件夹的层数
root@OpenWrt:/mnt/sdb1/download# du -d 1 -h
174.5M ./map
960.0K ./ASUS webstorage
15.1G ./learning material
6.7G ./Video
110.8G ./Music
26.1G ./Software
419.6G .