Text processing
grep
Searches for text patterns in files.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Fedora
Verified: 2025-09-09
Syntax
$grep [OPTIONEN] MUSTER [DATEI...]
Examples
$grep 'suchtext' datei.txt
$grep -r 'muster' /pfad
Typical use cases
?
Standard usage
grep --help
Note
Supports regular expressions
Export