Signal9Signal9 — home
online
back to labs

Sed: In-Place Editing

EasySed & Awk3-5 min
The brief

A config file went out with a typo — 'databse' instead of 'database', in several places. Fix the file itself, not a copy of it.

Correct every 'databse' to 'database' in /root/work/app.conf.

Grading reads app.conf afterward: the typo must be gone everywhere and the correct spelling present.

What you'll do
  • Correct the 'databse' typo to 'database' in the file itself, not a copy
  • Leave no occurrence of the typo behind

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