如何在grep中關閉二進制文件匹配結果[關閉] - How to suppress binary file matching results in grep [closed]

問題:

When using grep in linux, the result always contains a lot of "binary file XXX matches", which I do not care about. 在linux中使用grep時,結果總是包含很多“二進制文件XXX匹配”,我不在乎。 How to suppress this part of results, or how to exclude binary files in grep? 如何抑制這部分結果,或者如何在grep中排除二進制文件?


解決方案:

參考一: https://en.stackoom.com/question/1kTjW
參考二: https://stackoom.com/question/1kTjW
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章