← Command encyclopedia

sed

Stream editor (simulator supports s/OLD/NEW/[g] and -i).

Executable in the CoreQ simulator

Syntax

sed [-i] 's/OLD/NEW/[g]' [FILE...]

Practise it now in the Linux sandbox. Type man sed there for a quick summary.

Learn it in

Related commands

cattacrevnlheadtailwcgrep