Debian使用du命令进行文件目录大小排序
发布时间:2023-9-25 11:32:48 来源: 纵横云
Debian使用du命令进行文件目录大小排序
1.du命令查看1层目录下大小排序
du -h --max-depth=1 | sort -hr
2.du命令查看1层目录下文件大小排序
du -hd 1 * | sort -hr
本文来源:
https://www.zonghengcloud.com/article/12484.html
[复制链接]
链接已复制