Linux命令:grep,報錯Binary file (standard input) matches

在Linux使用grep命令,從文件中抓取顯示特定的信息,以下:input cat 文件名 | grep 特定條件 --->   cat xxxx | grep 12345file 結果報錯:Binary file (standard input) matches;通過查詢後,意思爲文件是二進制文件,不能直接grep,解決辦法:二進制 cat 文件名 | grep -a 特定條件 ---> cat
相關文章
相關標籤/搜索