9

Заменить строку string1 строкой string2

$ sed 's/string1/string2/g'
-----------