Installing of fkill in Linux (Ubuntu)
1) Installing nodejs and npm
sudo apt install nodejs npm
2) Installing the fkill using npm use -g option with npm command which install fkill globally.
sudo npm install -g fkill-cli
3) To see the usage and options
Use fkill -h command to launch the fkill in interactive mode without providing any argument. Then this will show you available processes and search the process which you want to kill and then hit enter to kill or use the arrow key to select the process.
fkill -h
Easy way to kill process using Fkill in Linux
fkill-cli is a command-line-based tool to kill processes interactively. Fkill is developed using Nodejs. It can run on different operating systems like macOS, Linux, and Windows. To kill the process using fkill we just have to mention the process name or the process PID. Fkill can also be used to kill port.