This is a simple CLI for killing processes on Linux.
This is for those programs running in the background that you'd otherwise have to hunt down and kill manually. This script is meant to assist you in murdering these types of processes for wasting your time digging through ps output.
- Kill processes by name
- Kill processes by port with
-p
Installs to your $HOME/.local/bin directory.
git clone https://github.com/xd009642/murder-cli.git
cd murder-cli
./install.shUsage: murder [-p] <PROGRAM_NAME | PORT>
Note
I do not use proper option parsing in this script.
Kill all processes that are listening on port 8080.
murder -p 8080Kill all processes that have the word "nginx" in their name.
murder nginx