Support > About cybersecurity > The Linux implementation of fkill terminates processes interactively
The Linux implementation of fkill terminates processes interactively
Time : 2025-01-30 15:05:01
Edit : Jtti

Fkill-cli is a free, open source, convenient and cross-platform command line tool developed using Nodejs. It can interactively terminate Linux processes. Supports running on Windows and MacOS X operating systems and requires a process ID (PID) or process name to terminate it.

To install the fkill cli tool in Linux, install Nodejs and NPM first. To install Nojejs and NPM in Debian/Ubuntu:

--------------- Install Noje.js 8 ---------------

$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

$ sudo apt install -y nodejs

--------------- or Install Noje.js 10 ---------------

$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

$ sudo apt install -y nodejs

Install Nojejs and NPM in CentOS/RHEL and Fedora:

--------------- Install Noje.js 8 ---------------

$ curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -

$ sudo yum -y install nodejs

--------------- or Install Noje.js 10 ---------------

$ curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash -

$ sudo yum -y install nodejs

With Nodejs and NPM packages installed, you can use the npm command to install the fkill-cli package with this option so that it can be installed globally.

$ sudo npm install -g fkill-cli

After installing fkill-cli on the system, use the fkill command to start in interactive mode and run without any parameters. Select the process you want to terminate and press Enter:

$ fkill

You can also provide PID or process names from the command line, and process names are case insensitive, here are some examples.

$ fkill 1337

$ fkill firefox

To disable a port, you only need to add a colon before the port, such as:

$ fkill:18888

Use the f flag to enforce the operation and v to allow display of process parameters.

$ fkill -f 1337

$ fkill -v Firefox

More information a

Relevant contents

Espanso Open source text extender to improve typing efficiency Key differences and detailed comparisons between 32-bit and 64-bit systems What to do if the temporary file on the server has no permission What is the ping value and access speed of the Canadian server? SVG to PNG conversion method in Linux environment How to add a new disk to an existing Linux server File copy/move method with progress bar in Linux Hong Kong Server hardware network topology and bandwidth management Discard weak Hash algorithm to ensure SSL/TLS certificate security Method to ensure SSL/TLS certificate security This section describes how to manage the /etc/shadow password file in Linux
Go back

24/7/365 support.We work when you work

Support