pidof

Find process IDs by name

low risk

interactive breakdown — edit the command and press Explain
$ 
What it does

Prints PIDs for a program name. See the flags and examples below, and run `man pidof` for the full reference.

Examples
pidof nginxPIDs of nginx · explain & risk-check →
Related
pgrep ps
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man pidof for your version. Test destructive commands on a non-production system first.