使用 find / -size +1G 或 du -sh * | sort -rh 命令可快速定位大文件,1. find 搜索根目录下大于1G的文件,2. du 结合 sort 按大小排序显示各文件夹占用情况。

If you're running out of disk space, use commands like find / -size +1G or du -sh * | sort -rh to quickly locate large files and free up space.
版权声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。
还木有评论哦,快来抢沙发吧~