Lab2 objectives100 XP
Keep a copy of the error lines from ~/shop.log while you count them.
~/shop.log
Something confusing, a mistake, or an idea? We read every message and use it to improve the course.
Save and count in one pipeline
Send the ERROR lines through tee into ~/errors.txt, then into wc -l.
ERROR
tee
~/errors.txt
wc -l