Connecting commands with a pipe

How many errors?

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 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?

    Something wrong or confusing?

    Challenge not found

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