在 Linux 上查找所有特定大小的大文件,以清除不需要的 space

Findi All Large Files of specific size on Linux, to clear unwanted space

我的 linux 系统抛出 I/O 错误 - 任何 activity 的磁盘 space 已满错误。我想清除日志,不需要的大文件。

如何在文件系统中搜索大于特定数量的文件?

使用以下命令降序查找大于200MB的文件,使用sudo降序查找文件

find / -type f -size +200M -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF": " $5 }' |排序-nrk 2,2