The Baeldung logo
  • The Baeldung LogoLinux Sublogo
  • Start Here
  • Write for Baeldung
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Scripting » sed

Scripting allows us to programmatically interact with the Linux operating system. Learn about some basic scripting fundamentals as well as some advanced topics focused on Bash.

  • bash (34)
  • awk (30)
  • echo (25)
  • x sed (19)
  • grep (13)
  • read (11)
  • printf (11)
  • cat (11)
  • Shell (8)
  • alias (8)
  • find (7)
  • xargs (7)
  • source (7)
  • perl (6)
  • tr (6)
  • tail (5)
  • ssh (5)
  • copy-edit (5)
  • ls (5)
  • export (5)
  • wait (4)
  • set (4)
  • cron (4)
  • watch (4)
  • sudo (4)
  • expr (4)
  • let (4)
  • env (4)
  • expect (4)
  • eval (3)
  • chmod (3)
  • rsync (3)
  • pgrep (3)
  • readlink (3)
  • vi (3)
  • reference (3)
  • time (3)
  • date (3)
  • cd (3)
  • pushd (3)
  • wget (3)
  • tee (3)
  • curl (3)
  • cut (3)
  • paste (3)
  • sort (3)

>> How to Read Log Files Between Two Dates

>> Replacing Specific Line With a String Variable in Shell

>> How to Process a Bash Variable With sed

>> Inserting a Newline in a Variable in Bash

>> Replacing Whitespaces With Tabs in a File in Linux

>> Return Value of Substitutions With sed and awk

>> Removing the Last Character of a File

>> How to Add Up a Column of Numbers in Bash

>> File Editing: Appending a Non-Existent Line to a File

>> Using sed With a Literal String Instead of an Input File

>> Check if a String Contains a Substring in Linux

>> Splitting a File at Given Line Numbers

>> Difference Between grep, sed, and awk

>> Using sed to Replace a Multi-Line String

>> Read Random Line From a File in Linux

>> How to Reverse the Order of Lines in a File in Linux

>> Remove the First Characters of a Line

>> How to Join Multiple Lines Into One

>> Guide to the sed Stream Editor

  • ↑ Back to Top
The Baeldung logo

Categories

  • Administration
  • Files
  • Filesystems
  • Installation
  • Networking
  • Processes
  • Scripting
  • Search
  • Security
  • Web

Series

  • Linux Administration
  • Linux Files
  • Linux Processes

About

  • About Baeldung
  • The Full Archive
  • Write for Baeldung
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo