Keep a copy of the error lines from ~/shop.log while you count them.
Something unclear, wrong or missing?
Terminallearner@tidepool · simulated Linux machine · seed z6v63a
Default · in usePhosphor · reach level 2 to unlock a themeAmber · reach level 2 to unlock a themeSynthwave · reach level 2 to unlock a themeArctic · reach level 2 to unlock a theme
0:00Reset lab (rebuilds the machine)
Objective 1 of 20/2 done
Save and count in one pipeline
Send the ERROR lines through tee into ~/errors.txt, then into wc -l.
Save and count in one pipeline
Send the ERROR lines through tee into ~/errors.txt, then into wc -l.
Add the warnings
Add the WARN lines to the end of ~/errors.txt with tee, and keep the error lines.