The payment service had a rough morning. Its log is ~/logs/app.log, about 500
lines long. 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 payment service had a rough morning. Its log is ~/logs/app.log, about 500
lines long. 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…
This challenge doesn't exist (any more). See all challenges.