Chapter 8

  1. None. Because you are searching for Sed with a capital letter which does not exist
  2. None. The delete command d only deletes lines from the stream, not the file. To delete from the file, you can use the -i option.
  3. Fourth line. Because we used append command a, it will be inserted after the specified position.
  4. None, because the w flag is only used with the substitute command s.

Get Mastering Linux Shell Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.