pidof

ChatGPT

2025-02-03

Sends a request to locate the process ID (PID) of a running program by its name. The command returns the PID(s) of the matching processes.

Command Description
pidof <program> Finds the PID(s) of the specified program. For example, pidof firefox will return the PID of the Firefox process.