commands.sh
⌘K

pkill

all

Signal process by name. Mostly used for stopping processes.

More info →

Options (2)

-f, --fullboolean

Kill all processes which match their full command instead of just the process name

Example: pkill {{[-f|--full]}} "{{command_name}}"
-o, --oldestboolean

Kill the main `firefox` process to close the browser

Example: pkill {{[-o|--oldest]}} "{{firefox}}"

Examples (5)

Kill all processes which match

pkill "process_name"

Kill all processes which match their full command instead of just the process name

pkill [-f|--full] "command_name"

Force kill matching processes (can't be blocked)

pkill -9 "process_name"

Send SIGUSR1 signal to processes which match

pkill -USR1 "process_name"

Kill the main `firefox` process to close the browser

pkill [-o|--oldest] "firefox"
made by @shridhargupta | data from tldr-pages