当前位置: 技术问答>linux和unix
如何在几个文档中搜索一串字符
来源: 互联网 发布时间:2016-07-27
本文导语: 比如在几个.c文件中 a.c b.c c.c d.c 中搜索1111 linux下的 | grep -r youcode dir 例如:查找home下文件中查找hello grep -r hello /home | 好像grep是可以实现的,不太会使用,期待...
比如在几个.c文件中 a.c b.c c.c d.c 中搜索1111
linux下的
linux下的
|
grep -r youcode dir
例如:查找home下文件中查找hello
grep -r hello /home
例如:查找home下文件中查找hello
grep -r hello /home
|
好像grep是可以实现的,不太会使用,期待高人解答