例一: 在当前目录及其子目录中开始搜索 grep "无响应" * -nR 例二:搜索指定目及其子目录中的某关键词 find frameworks/base/ -exec grep "无响应" --color -nH {} \;