How can I have grep not print out ‘No such file or directory’ errors?
You can use the -s or –no-messages flag to suppress errors.
-s, –no-messages suppress error messages
grep pattern * -s -R -n
How can I have grep not print out ‘No such file or directory’ errors?
You can use the -s or –no-messages flag to suppress errors.
-s, –no-messages suppress error messages
grep pattern * -s -R -n