How does grep and file command determine the file type as binary or text?
Issue
- How does
grep
and file command determine the file type asbinary
ortext
? - When using grep on certain servers gets the error 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.