grep Error Messages
Search text with patterns.All grep pages
- grep: (standard input): binary file matchesgrep says binary file matches instead of printing lines when the input has NUL bytes or invalid encoding, such as UTF-16. Use grep -a, iconv, or -I to skip.
- grep: dir: Is a directorygrep prints Is a directory when a directory is passed as a file to search, often via a glob like grep foo *. Add -r to search inside it or -d skip to ignore it.
- grep: Unmatched ( or \(grep prints Unmatched ( or backslash-( when a regex group is opened and never closed, as in grep -E 'foo('. Use grep -F for literal text or escape it.
- grep: Unmatched [, [^, [:, [., or [=grep: Unmatched [, [^, [:, [., or [= means the pattern has a [ with no closing ], as in grep '[ERROR'. Use grep -F for literal text or escape the bracket.