🎁 New User? Get 20% off your first purchase with code NEWUSER20 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.
ACL (Access Control List)
An extension to standard Linux file permissions that allows setting fine-grained access rights for specific users and groups beyond owner/group/other.
Rsync
A fast, versatile file synchronization tool that efficiently transfers and syncs files between local and remote systems.
Curl
A versatile command-line tool for transferring data using various network protocols, commonly used for API testing.
AppArmor
A Linux security module that restricts program capabilities using per-application profiles, simpler to configure than SELinux.
Netstat
A command-line tool that displays network connections, routing tables, and interface statistics on a system.
View All Linux Terms →