grep "key" xxx.log时输出
Binary file xxx.log matches
解决方案 grep认为这是二进制文件,解决方案:grep -a。
grep -a "key" xxx.log
Binary file xxx.log matches
解决方案 grep认为这是二进制文件,解决方案:grep -a。
grep -a "key" xxx.log
转载于:https://www.cnblogs.com/fengyefeiluo/p/5038846.html