find / -type f -size +100M
find / -type f -size +100M -exec ls -lh {} \;
find /www/server -type f -exec grep -H "内容" {} +
本文介绍了如何利用`find`和`grep`命令在www/server目录下查找大小超过100MB的文件,并提取包含特定内容的行。方法涉及递归搜索和文本匹配。
find / -type f -size +100M
find / -type f -size +100M -exec ls -lh {} \;
find /www/server -type f -exec grep -H "内容" {} +

被折叠的 条评论
为什么被折叠?