Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Is sed -i safe in prod?

This interview card answers: Is sed -i safe in prod? It overwrites the file. Test without -i, keep.bak. Edit with backup.

Is sed -i safe in prod? It overwrites the file. Test without -i, keep .bak. Edit with backup.
Is sed -i safe in prod? · Download PNG
Read card text

What this card says

What it is

It overwrites the file.

Why it matters

Test without -i, keep .bak.

How / example

Edit with backup.

sed -i.bak 's/a/b/' app.conf

See all AWS revision cards