操作 grep "hello world" test.log

结果 Binary file test.log matches

原因:grep认为test.log是二进制文件

解决方法:grep -a "hello world" test.log

相关文章:

  • 2022-12-23
  • 2021-10-21
  • 2021-08-27
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
  • 2021-07-22
猜你喜欢
  • 2021-09-16
  • 2022-12-23
  • 2021-04-17
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案