|_ | |
_ (_)
_ _)
_ (_
_ (-
_ | )
linux du常用命令
1、查看当前目录下一级子目录的大小
du -h --max-depth=1 ./
其中 -h参数表示以人类可读格式(KB/MB/GB)显示,--max-depth=1参数限制只显示一级子目录。