š Simplify Your Linux Process Killing with a Fuzzy Process Killer š
Chris Schindlbeck
Posted on July 5, 2024
Are you tired of sifting through numerous processes to identify and terminate them by looking up their PIDs?
Use this lightweight script function that leverages the power of fzf (a command-line fuzzy finder) to streamline the process of identifying and killing processes. Quickly locate and kill processes without memorizing PIDs!
How does it work?
- Process Listing: It lists all running processes with their PIDs and command names.
- Fuzzy Search: You can then use fzf to quickly filter and find the process you're looking for.
- Kill Command: Once selected, it safely terminates the process with kill -9.
Copy the code into your .bashrc/.zshrc from this github gist and give it a try (fzf must be installed of course)!
š https://gist.github.com/cschindlbeck/db0ac894a46aac42861e96437d8ed763
š šŖ š
š©
Chris Schindlbeck
Posted on July 5, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.