记录grep报错处理:/usr/bin/grep: ./xxx.log: binary file matches
摘要:运行grep查询命令时,有时会提示 “binary file matches” 问题 grep 'abc' ./*.log打印:/usr/bin/grep: ./xxx.log: binary file matches 解决方法:加上 -a 参数即可,即让二进制文件等价于文本 grep -a 'ab
阅读全文
posted @ 2024-12-26 10:20