–include 用于只查找某些文件 –exclude-dir用于排除某些文件夹 grep -r "report.partition.stats" --include \*.java --exclude-dir tez-ui