grep と file コマンドがファイルタイプをバイナリーまたはテキストと判断する方法
Issue
grep
と file コマンドは、どのようにしてファイルタイプをbinary
またはtext
と判断しますか?- 特定のサーバーで grep を使用すると、Binary file (standard input) matches というエラーが発生します。
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.