Using Sed Editor To Substitute One Value For Another

Using Sed Editor

  • Sed Syntax

The syntax for the utility is:

sed [options] '{command}' [filename]

  • Substitute
   shibu@shibu-laptop:~$ echo tiger will meet on monday | sed 's/tiger/wolf/'
   wolf will meet on monday

We can use filename also here...