Skip to content

tools_007

Zhang Jc edited this page Jan 8, 2017 · 2 revisions

du命令

常用:

du -h --max-depth=1

这样只会列出第一级子目录占用的空间大小,-h会自动一K、G或M现实大小,方便阅读。

Clone this wiki locally