- A log is checked from two sides:
tailshows how things ended,grep -n -ishows every line with the word and where it sits. - Empty grep output is a reason to check the word, the case and the file; it does not mean "no errors".
- Editing a config takes three moves: a
.bakcopy, the edit in Vim saved with:w, and a check outside the editor withcatandgrep. - The on-call engineer at the start of the lesson searched for
error, while the log saidERROR:grep -i errorwould have found both errors.
Step 8 of 8 · summary · 1 min
Summary
Found an inaccuracy? Report an error in the lesson