Sed – Make a backup before running Expression
Lets say you want to run a sed command, but you want it to save a backup before editing a file. Here is how you do that:
1 |
sed -i.bak -e 'SED EXPRESSION GOES HERE' filename1<span style="font-family: Lato, sans-serif; font-size: 16px; line-height: 1.5; background-color: #ffffff;"> </span> |
This will take filename1Read More…