Grep

Alex_yan posted @ 2009年1月14日 19:11 in grep , 910 阅读

grep 常用命令

grep -Inr "str" .       递归查找当前目录下包含字符串str的文件 并跳过binary文件

-I        跳过binary

-n        显示该字符串出现的行号

-r        递归查找      


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter