About 50,300 results
Open links in new tab
  1. Sed Command in Linux/Unix With Examples - GeeksforGeeks

    Nov 7, 2025 · The SED command in Linux/Unix is a versatile and powerful and flexible tool for automating a wide range of text editing tasks. Whether you need to perform simple substitutions or …

  2. Bash sed Command - Stream Editor - W3Schools

    The -i option allows you to edit files directly without needing to save separately. Without this option, sed outputs the result to the standard output, and you must redirect it to a file to save changes. cat …

  3. sed, a stream editor - GNU

    sed writes output to standard output. Use -i to edit files in-place instead of printing to standard output. See also the W and s///w commands for writing output to other files. The following command …

  4. How to use sed to find and replace text in files in Linux ... - nixCraft

    Feb 26, 2025 · The -i tells to update the file. The / is the default delimiter, but it can be any character other than a backslash (\) [1] or newline (\n) [1] can be used instead of a slash (/) to delimit the regex …

  5. sed Command in Linux with Examples :: IT'S FOSS

    Aug 15, 2025 · Command: Specifies the action to be performed on the selected lines. Common commands include s (substitute), d (delete), a (append), i (insert), and p (print). Now, let’s explore …

  6. Beginners Guide for Sed Command on Linux

    May 22, 2025 · In this article, you will learn the sed command with the help of the following text file. Output: All the changes you made in this file will only be visible in the output; the file itself will not be …

  7. sed Command in Linux (Find and Replace Strings in Files)

    Nov 17, 2025 · Adding -i turns that same command into an in-place edit. Test without -i first so you can confirm the output before writing to disk. Here’s the general syntax for finding and replacing text: …

  8. Mastering sed Command in Linux: A Comprehensive Guide

    Jan 8, 2025 · What is sed command in Linux? The sed (Stream Editor) command in Linux is a powerful text processing tool used to perform basic text transformations on an input stream (a file or input …

  9. sed: Master the Linux Command Line - Full Guide Better 2026

    Aug 2, 2025 · At its core, sed operates by reading input lines, performing specified actions, and writing the results to standard output. Unlike other editors, sed doesn’t modify the original file directly unless …

  10. Sed Command in Linux: Complete Guide with Powerful Examples

    Oct 25, 2025 · In Linux automation and system administration, sed is commonly used to automate repetitive text edits, remove comments, filter logs, and reformat data. It supports regular expressions …