Connecting commands with a pipe

How many errors?

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 ERROR on them. I need a number.

Your goal

Count how many lines in ~/logs/app.log contain ERROR (in capitals), and type the number into the answer box.

Starting Linux…

Stuck?

    Challenge not found

    This challenge doesn't exist (any more). See all challenges.