How will you substitute the strings in a file using SED?

  1. s/old/new/l

  2. s/old/new/g

  3. s/new/old/g

  4. s/old/new/f


Correct Option: B

Find more quizzes: