Skip to content

Text processing

warm-uppar 1 command

Count the errors

Print how many lines of app.log mention ERROR. Just the number.

Goal

0 / 1 commands

Print how many lines of app.log mention ERROR.

  • ·Puts the answer on standard output
$

The files in the sandbox, with their modes, link counts and sizes
ModeLinksSizeName
-rw-r--r--11583app.log
-rw-r--r--1384app.log.1