grep --include='*.xml'xml
-i, --ignore-case 不区分大小写it
-L, --files-without-match 显示不匹配的文件名file
-n, --line-number 显示的加上匹配所在的行号grep
cat /etc/passwd | grep -E '^(patrol|zabbix)' 正则匹配文件