查看文件中包含的字符串 grep "xxxx" file_name 查看目录中文件包含的字符串 grep -r "xxxx" directory_name 匹配多个字符串 grep -e "xxxx" -e "xxxx"