🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Beginner

What is Grep?

A command-line utility for searching plain-text data for lines matching a regular expression pattern.

Grep (Global Regular Expression Print) is one of the most used Linux commands. Basic usage: grep "pattern" file. Common flags include -i (case insensitive), -r (recursive), -n (line numbers), -v (invert match), and -c (count).

Extended grep (grep -E or egrep) supports advanced regex. Grep is essential for log analysis, code searching, and text processing. Modern alternatives include ripgrep (rg) which is significantly faster.

Related Terms

Linux Bridge
A software-based network switch in the Linux kernel that connects multiple network interfaces at Layer 2, enabling VM and container networking.
SSH (Secure Shell)
A cryptographic network protocol for secure remote login and command execution over an unsecured network.
Daemon
A background process that runs continuously on a system, typically providing services like web serving or logging.
Top/Htop
Interactive process viewers that display real-time system resource usage including CPU, memory, and running processes.
GRUB
The Grand Unified Bootloader, a program that loads the operating system kernel into memory during system startup.
Nftables
The modern Linux packet filtering framework that replaces iptables with a unified, more efficient rule-processing architecture.
View All Linux Terms →