From fc0ac1a6659418bb60d126499bfc838c96530438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=9F=E8=B0=83=E8=B0=83=E2=84=A2?= Date: Fri, 7 Aug 2020 16:15:35 +0800 Subject: [PATCH] Update du.md --- command/du.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/command/du.md b/command/du.md index 5de1256ed3..75b716e888 100644 --- a/command/du.md +++ b/command/du.md @@ -35,6 +35,10 @@ du [选项][文件] ### 实例 +``` +$ du -sh * | sort -h # 按文件大小排序 +``` + 显示目录或者文件所占空间: ```shell @@ -104,4 +108,4 @@ root@localhost [test]# du du -sh $dir ``` - \ No newline at end of file +