Update from Sync Service
This commit is contained in:
5
附件/2026/个人知识库/Linux/查看目录大小.md
Executable file
5
附件/2026/个人知识库/Linux/查看目录大小.md
Executable file
@@ -0,0 +1,5 @@
|
||||
## du -sh /*
|
||||
## 可以列出你整个VPS所有文件夹的大小。其中“/*”是控制分析哪个目录的,你根据上面的结果,然后灵活变化后面的路径就行了,例如:
|
||||
## du -sh /usr/*
|
||||
## 用这个命令来分析usr目录下的文件夹大小,最后定位到大文件,直接删除就行了。
|
||||
> 来自 <[https://www.hack520.com/504.html](https://www.hack520.com/504.html)>
|
||||
Reference in New Issue
Block a user