如何在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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章