Grep - How to suppress the "Is a directory" line?
When running
grep 'string' *
I'm getting the following messages:
grep: some-directory: Is a directory
grep: other-directory: Is a directory
How to suppress those messages?
-s, --no-messages: Suppress error messages about nonexistent or unreadable files.
grep -s 'string' *