← Command encyclopedia

pgrep

Find process IDs by name.

Executable in the CoreQ simulator

Syntax

pgrep [-l] PATTERN

Practise it now in the Linux sandbox. Type man pgrep there for a quick summary.

Related commands

pstopkillpkillsystemctljournalctl