Process management - xgbn/handbook GitHub Wiki

pgrep foo

Use pgrep foo to get a list of pids with name maching "foo".

pkill foo

Use pkill foo to kill a list of processes with name maching "foo".