...
The -i signifies inline editing and also will have sed automatically creates .
If you would like sed to automatically create a backup file . If you want to specify the suffix of the backup file you may add by adding .suffix. For example to create the backup file with the extension .sedautobck,
Code Block | ||
---|---|---|
| ||
sed -i.sedautobck 's/cow/reindeer/' hey.txt |
...