linux中根据文件内容关键字,搜索文件
grep -r -n "关键字"grep为global search regular expression and print out the line.即为用正则表达式来全面搜索的工具。-r为递归搜索-n为换行
·
grep -r -n "关键字"
grep为global search regular expression and print out the line.即为用正则表达式来全面搜索的工具。
-r为递归搜索
-n为换行
更多推荐
已为社区贡献1条内容
所有评论(0)