# 列出所有包括a@b.c内容的xml文件

find / -type f -name "*.xml" | xargs grep "a@b.c"

# 列出/opt/apache-tomcat-6.0.32下包括a@b.c的文件
find /opt/apache-tomcat-6.0.32 -type f -name "*.*" | xargs grep "a@b.c"

相关文章: