Substitute text but only if some other text is not found in the string, and 49 other examples of practical SED. Different uses of `sed` command are explained in this tutorial by using very simple examples. The output of all `sed` scripts mentioned here are generated temporary and the content of the original file remained unchanged. But if you want you can modify the original file by using ???i or ???in-place option of `sed command.