← Learn
Safe
sed -i.bak 's/localhost/db.example.com/' ./config/app.conf

cross-platform · bash · Advanced

-i is the same in-place flag that makes the system-file edit dangerous, but the suffix keeps the original as app.conf.bak and the target is…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Git / Development