Skip to content

Commit b7ee972

Browse files
committed
feat: du
1 parent 01d8406 commit b7ee972

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tools/linux/command/disk.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
内存命令
44

5+
### du -sh
6+
```perforce
7+
du -sh . //查看当前目录的总大小
8+
du -sh core* //列出所有core开头的目录或文件大小
9+
du -sh * //列出所有子目录的大小
10+
```
11+
12+
513
### df -h
614
```perforce
715
$ df -h

0 commit comments

Comments
 (0)