Debian使用du命令进行材料目录大小排序
资讯 2025-03-02 11:09 158

Debian使用du命令进行材料目录大小排序

1.du命令查看1层目录下大小排序

du -h --max-depth=1 | sort -hr

2.du命令查看1层目录下材料大小排序

du -hd 1 * | sort -hr