linux 中如何通过关键字来查找目录下的文件

grep -r "10.104.120.104" /data/tomcat (目录)

这样就可以找到存在 104 的文件是什么了

猜你喜欢

转载自blog.51cto.com/12092988/2543652
今日推荐