Jump to: Menu

ezkill, selective process killing made easy

killall and pkill -f are the two most popular tools to send SIGTERM to all processes running a specified command. With ezkill I want to provide more flexibility in the choice of processes to terminate while honoring the terse efficiency of aforementioned commands.

ezkill list processes matching input pattern, ps style, and add a letter prefix before each line. This single letter plays the role of pid, you designate which processes to kill by entering their letters at the prompt.

So that’s the trade-off: only the 26 first matching processes are displayed, only one keystroke per process to kill is required.