grep -rl "work" * 遍历子目录 grep "work" * 不遍历目录 grep "work" *.js 查找js文件中的work grep -l "work" * 符合的文件只出现一次