Tutorial by Examples

One of the most common use of Sed is text substitution that can be achieved with the s command. In a terminal, type echo "Hello sed" | sed 's/sed/World/' and press Enter: $ echo "Hello sed" | sed 's/sed/World/' Hello World "Hello World" should be output to the ter...

Page 1 of 1