Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Text Editing using sed - English

Spoken Tutorials published before 1 Feb. 2025 are accessible without login. To access subsequent ones, one has to log in.
If you don't have a login, please contact our Training Manager .

335 visits



Outline:

Substitution using sed. Global substitution with the g flag. Multiple substitutions using -e. Context-based substitution. Deleting lines using sed. Inserting lines using sed. Saving sed output to a file.