Lines With ERROR
Print every line of app.log that contains ERROR, written just like that, in capitals. Keep the lines whole and in their order.
Example 1
app.log
INFO job 1 ERROR disk 3 WARN an error came back ERROR mail 7
prints
ERROR disk 3 ERROR mail 7
Constraints
app.loghas up to 20 lines
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Bash problems
- One After the OtherBeginner
- Only the Text FilesBeginner
- Sort the NamesBeginner
- Colour to ColorEasy
- Each Line OnceEasy
- Everything but DEBUGEasy
- Find the Python FilesEasy
- In CapitalsEasy