Process Management
pgrep
Searches for processes by name and lists PIDs.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$pgrep [OPTIONEN] MUSTER
Examples
$pgrep firefox
$pgrep -f script
Typical use cases
?
Standard usage
pgrep --help
Note
Enhanced version of pkill.
Export