Process Management
pidof
Finds the process ID of running programs.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-10-08
Syntax
$pidof [OPTIONEN] PROGRAMM
Examples
$pidof firefox
$pidof -s bash
Typical use cases
?
Standard usage
pidof --help
Note
Similar to pgrep but simpler.
Export