pgrep
pgrep [-f] <name>
Risk: Safe
What it does
Prints the PIDs of processes that match a name.
When to use it
To find the number kill needs.
Example
$ pgrep -f stock-checkThe PID of the stuck stock script.
Learn it in: Processes: ps and top · Official docs