- 列出当前目录及其子目录的大小
du -h
- 列出特定目录的大小
du -h /path/to/directory
image.png
3.仅显示总大小
du -sh /path/to/directory
image.png
- 列出每个子目录的大小
du -h --max-depth=1
image.png
- 列出当前目录及其子目录的大小
du -h
- 列出特定目录的大小
du -h /path/to/directory
image.png
3.仅显示总大小
du -sh /path/to/directory
image.png
- 列出每个子目录的大小
du -h --max-depth=1
image.png
本文标题:Ubuntu 列出文件夹的大小
本文链接:https://www.haomeiwen.com/subject/jvwdndtx.html
网友评论