linux中根据关键字搜索文件示例

 find /root/.jenkins -type f -name  '*.xml' | xargs grep JAVA_OPTS
 

猜你喜欢

转载自blog.csdn.net/k3108001263/article/details/83986510