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