统计当前目录下的所有文件目录大小,不显示子目录与子文件

统计当前目录下的所有文件目录大小,不显示子目录与子文件

du --max-depth=1 -a /home/talen |sort -n 用来查看我的主目录下的所有隐藏与非隐藏文件。

原文

http://blog.chinaunix.net/uid-21142030-id-3153714.html

原文地址:https://www.cnblogs.com/mydomain/p/3032695.html