The Baeldung logo
  • The Baeldung LogoLinux SublogoLinux Sublogo
  • Start Here
  • Guides ▼▲
    • Administration

      A collection of guides on Linux system administration

    • Scripting

      Basic and advanced scripting on Linux.

    • Networking

      The building blocks for machine-to-machine communication

    • Files

      Deep dive into working with Files on Linux.

    • Processes

      Learn about managing Linux processes and threads

  • Pricing
  • About ▼▲
    • Full Archive

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

    • About Baeldung

      About Baeldung.

  • Category upFiles
  • Category upText Processing
  • Category upFile Editing
  • Category upScripting
  • Category upFile Searching
  • Category upFile Viewing
  • Category upSearch
  • Category upFile Conversion

Tag: sed

Stream Editor, or sed for short, is a Linux command-line stream editor. Explore the list of guides below to learn how to search, find, replace, insert, or remove specific text in a file.

>> How to Pass an Environment Variable in Kubernetes Deployment

>> Adding Field to a JSON Object

>> How to Carry Out Multiple Substitutions in a File Using a Single sed Command

>> How to Match a String with a Fixed Numbers of Characters in Linux

>> Character Notations and Removing Whitespace While Keeping Line Endings

>> How to Replace a Character in a Matched Line In-Place

>> How to Remove Lines That Contain Fewer Than n Characters

>> How to Delete Text Before a Delimiter From the Command Line

>> How to cat the Contents of Files Found Using find Into a Single File

>> How to Embed a Shell Command Into a sed Expression

  • «
  • ← Previous
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next →
  • »
The Baeldung logo

Categories

  • Scripting
  • Installation
  • Search
  • Web
  • File Editing
  • File Searching
  • File Conversion
  • Docker

Series

  • Linux Administration
  • Linux Scripting Series
  • Linux Files
  • Linux Processes
  • Linux Networking Tutorials
  • Linux Filesystem Guide
  • Linux Security

About

  • About Baeldung
  • Baeldung All Access
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo