Skip to content

Commit 3c2f387

Browse files
le-shijaywcjlove
authored andcommitted
Update: command du
1 parent bc78081 commit 3c2f387

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

command/du.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,22 @@ $ du -sh * | sort -h # 按文件大小排序
5454
显示目录或者文件所占空间:
5555

5656
```shell
57-
root@localhost [test]# du
58-
608 ./test6
59-
308 ./test4
60-
4 ./scf/lib
61-
4 ./scf/service/deploy/product
62-
4 ./scf/service/deploy/info
63-
12 ./scf/service/deploy
64-
16 ./scf/service
65-
4 ./scf/doc
66-
4 ./scf/bin
67-
32 ./scf
68-
8 ./test3
69-
1288 .
57+
root@localhost [test]# du -sh ./*
58+
608K ./test6
59+
308M ./test4
60+
4K ./scf/lib
61+
4K ./scf/service/deploy/product
62+
4K ./scf/service/deploy/info
63+
12G./scf/service/deploy
64+
16M ./scf/service
65+
4K ./scf/doc
66+
4K ./scf/bin
67+
32K ./scf
68+
8M ./test3
69+
12.34G .
7070
```
7171

72-
只显示当前目录下面的子目录的目录大小和当前目录的总的大小,最下面的1288为当前目录的总大小
72+
只显示当前目录下面的子目录的目录大小和当前目录的总的大小,最下面的12.34为当前目录的总大小
7373

7474
显示指定文件所占空间:
7575

0 commit comments

Comments
 (0)