I’m trying to scan an error log for lines with 503 errors, so I’m grepping for " 503 (quote space 503).
This seems simple, but it won’t work:
grep '" 503 ' access.log
I get the following error:
bash: -c: line 0: unexpected EOF while looking for matching `”‘
bash: -c: line 1: syntax error: unexpected end of file
The issue was due to some erroneous directives in
.bashrc.