๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Intermediate

What is Sed?

A stream editor for filtering and transforming text, commonly used for find-and-replace operations in files.

Sed (Stream Editor) processes text line by line using commands. The most common use is substitution: sed 's/old/new/g' file replaces all occurrences of "old" with "new". The -i flag edits files in place.

Sed supports regular expressions, line addressing, deletion (d), insertion (i/a), and multi-command processing. It is invaluable for batch text processing and configuration file management.

Related Terms

Systemd
A system and service manager for Linux that initializes the system and manages services, logging, and more.
Wget
A command-line utility for downloading files from the web, supporting HTTP, HTTPS, and FTP protocols.
Linux Kernel Module
A piece of code that can be loaded into the kernel at runtime to extend functionality without rebooting, such as device drivers and filesystems.
Procfs (/proc)
A virtual filesystem in Linux that provides an interface to kernel data structures, exposing process and system information as files.
Disk Quota
A system for limiting the amount of disk space or number of files that individual users or groups can consume on a filesystem.
Kernel
The core component of an operating system that manages hardware resources and provides services to software.
View All Linux Terms โ†’