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

Ravi Sir's Cards › AWS

AWS Cloud

sed vs sed -i

This comparison card contrasts sed and sed -i. sed is described as prints to screen. sed -i is described as changes the file.

sed vs sed -i: Prints to screen.; Changes the file.
sed vs sed -i · Download PNG
Read card text

What this card says

Output

sed

Prints to screen.

sed -i

Changes the file.

Key points

Safe preview.

Use .bak to undo.

Example

sed 's/a/b/' f

Use when

Testing.

Real change.

See all AWS revision cards