Zapisz wyjście SED na tym samym pliku

sed -i 's/Hello/Hi/g' file-name
Armandres