Search and replace with sed
$ echo "This is a test" | sed -e 's/a test/how you search and replace with sed./g'
This is how you search and replace with sed.
$ echo "This is a test" | sed -e 's/a test/how you search and replace with sed./g'
This is how you search and replace with sed.