12 2024 档案

记录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 乘影 阅读(137) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示