back to labs
Mass Rename: Search & Replace at Scale
MediumText Editors15-20 minThe brief
Legal says the internal codename 'projectx' can't appear anywhere in the deploy manifest — the product is now officially 'signal9'. The manifest at /root/deploy/manifest.yml mentions projectx twelve times: image names, hostnames, labels, comments. Changing them one by one is how mistakes happen. Open the file in vim and retire the codename everywhere with a single global substitute — :%s/old/new/g is the config-editing superpower, and this is the moment you learn to trust it.
What you'll do
- Replace every occurrence of 'projectx' in /root/deploy/manifest.yml with 'signal9'
- Verify zero occurrences remain, then save and quit
Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.
