Saving Changes
Learn how to save changes in a file after making changes with the sed command.
We'll cover the following...
Redirection
In the previous lesson, we learned how to edit text using sed
. Now, we’ll learn how to save those changes. To keep the changes we’ve made with sed
, we have two options. Our first option is to redirect the output to a new file using redirection.
Let’s run the terminal below to execute ...