Count the Matches
Easy · Text Processing · grep
Problem
app.log mixes INFO and ERROR lines.
Print how many lines contain ERROR.
Approaches
- grep -c
Related problems
Start free on Cariara · Coding problems · System design studio
Easy · Text Processing · grep
app.log mixes INFO and ERROR lines.
Print how many lines contain ERROR.
Start free on Cariara · Coding problems · System design studio
Coding practice is in SolveMe.Open