ITeye博客

linux命令grep

hellsing42 · 2009-07-08 11:24 · j2se基础 · Markdown

grep "key" xxx.log时输出

Binary file xxx.log matches

百度了一下:grep认为这是二进制文件,解决方案:grep -a。

grep -a "key" xxx.log

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。