back to labs
Awk: Pattern Matching
MediumSed & Awk5-10 minThe brief
From /root/work/app.log, extract only the lines containing 'error' (lowercase) into /root/work/out.txt.
Grading compares against the error-matching lines, so an over- or under-match fails.
What you'll do
- Select only the lines containing lowercase 'error'
- Save those lines to /root/work/out.txt
Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.
