Signal9Signal9 — home
online
back to labs

Regex: Literal Matching

EasyRegular Expressions3-5 min
The brief

Extract every line containing the lowercase text 'error' from /root/work/log.txt into /root/work/out.txt.

'Error' with a capital E is a different string and must NOT appear in your output.

What you'll do
  • out.txt holds exactly the lines containing lowercase 'error'

Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.