Linux命令:grep,报错Binary file (standard input) matches
执行命令:
cat 文件名 | grep 'test'报错:
Binary file (standard input) matches搜索一番,意思是二进制文件不能直接grep。
解决方法:
cat 文件名 | grep -a 'test' 执行命令:
cat 文件名 | grep 'test'报错:
Binary file (standard input) matches搜索一番,意思是二进制文件不能直接grep。
解决方法:
cat 文件名 | grep -a 'test'