grep "key" xxx.log时输出

Binary file xxx.log matches

百度了一下:grep觉得这是二进制文件。解决方式:grep -a。

grep -a "key" xxx.log

相关文章:

  • 2021-09-07
  • 2021-10-08
  • 2021-05-20
  • 2021-06-29
  • 2021-06-26
  • 2022-12-23
  • 2021-06-03
  • 2022-01-15
猜你喜欢
  • 2022-12-23
  • 2021-05-21
  • 2021-08-11
  • 2022-12-23
相关资源
相似解决方案