šŸš€ Simplify Your Linux Process Killing with a Fuzzy Process Killer šŸš€

cschindlbeck

Chris Schindlbeck

Posted on July 5, 2024

šŸš€ Simplify Your Linux Process Killing with a Fuzzy Process Killer šŸš€

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

šŸ’– šŸ’Ŗ šŸ™… šŸš©
cschindlbeck
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.

Related