Skip to content

Glossary: Linux for Developers

pgrep

Finds processes by name and prints their PIDs. `-a` adds the full command line and `-f` matches the whole command line.

Where the book teaches it

Related terms

pskill