linux下查找过滤文件内容

时间:2014-08-26 17:14:16   收藏:0   阅读:221
find /data/weblogic/oracle/middleware -type f -name "*.xml" | xargs grep "context"

 

find /u02/weblogic/ -type f -name "*.xml" | xargs grep "context-root"

 

参考文章

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!