Use pipes to answer questions about ~/shop.log. Build each pipeline one step at a time.
Lab4 objectives100 XP
Use pipes to answer questions about ~/shop.log. Build each pipeline one step at a time.
Count with a pipe
Send the ERROR lines into wc -l.
Count with a pipe
Send the ERROR lines into wc -l.
Filter two times
Of the error lines, keep only the lines with declined, and count them.
The last error
Send the error lines into tail to see only the last one.
Save the end of a pipeline
Save the error lines that are not about the printer in ~/to-check.txt.