du [选项] [文件|目录]
示例
实例一
du -h
112M ./2019.1/arm/all
2.3G ./2019.1/arm/cortexa9-vfpv3
2.4G ./2019.1/arm
2.4G ./2019.1
2.6G .
root@blog:~/ni-linux-rt/feeds# du -h
112M ./2019.1/arm/all
2.4G ./2019.1/arm/cortexa9-vfpv3
2.6G ./2019.1/arm
2.6G ./2019.1
2.8G .
root@blog:~/ni-linux-rt/feeds# du -h
112M ./2019.1/arm/all
2.6G ./2019.1/arm/cortexa9-vfpv3
2.7G ./2019.1/arm
2.7G ./2019.1
2.9G .
实例二
du -s
3028452 .
实例三
du -sh
2.9G .