The checkout incident's log, ~/logs/app.log, has 500 records, but only some are errors.
The team lead asks:
How many lines in there are errors? Lines with
ERRORon them. I need a number.
Connecting commands with a pipe
The checkout incident's log, ~/logs/app.log, has 500 records, but only some are errors.
The team lead asks:
How many lines in there are errors? Lines with
ERRORon them. I need a number.
Count how many lines in ~/logs/app.log contain ERROR (in capitals), and type the
number into the answer box.
Starting Linux…
How was this challenge?
This challenge doesn't exist (any more). See all challenges.