Linux Sed Command Tutorial

In this lesson on the Linux sed command, you’ll learn how to:

  • Perform text substitutions.
  • Remove text from a stream.
  • Perform in-place edits while preserving the original data as a backup.
  • Use sed addresses to work on very specific sections of input.
  • And much more…

This lesson is just one of the 55 shell scripting lessons in the “Linux Shell Scripting: A Project-Based Approach to Learning” course.

If you found this tutorial useful, you’ll greatly benefit from going through the entire course.