Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
sed -i.sedautobck 's/cow/reindeer/' hey.txt

...