Operation grep "hello world" test.log
The results Binary file test.log matches
The reason: grep think test.log is a binary file
Solution: grep -a "hello world" test.log
Operation grep "hello world" test.log
The results Binary file test.log matches
The reason: grep think test.log is a binary file
Solution: grep -a "hello world" test.log