How to use fkill to kill the port.

If you want to kill the process running on the port, then just mention the port number with a colon (:) after the fkill command:

fkill :3000

To forcefully kill the process, use -f option with fkill command.

fkill -f 1222

To show process arguments use the -v option with fkill command.

fkill -v firefox

To see the help message of fkill command, use the –help option with fkill command.

fkill --help

fkill –help

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.

Similar Reads

Installation of fkill on Different OS.

Now let’s see how we can install the fkill on systems. The requirement to install fkill is NodeJS and npm, so first, we need to install the nodejs. Use one of the following commands to install NodeJS according to your OS:...

Installing of fkill in Linux (Ubuntu)

1) Installing nodejs and npm...

How to use fkill to kill the process using PID

If you want to kill the process using PID with fkill then mention the PID after the fkill command....

How to Terminate a Process (pkill) using process name.

If you want to kill the process using the process name, then mention the process name after the fkill command:...

How to use fkill to kill the port.

If you want to kill the process running on the port, then just mention the port number with a colon (:) after the fkill command:...

Conclusion

fkill-cli is a useful command line tool that allows users to kill processes interactively. This article provides clear instructions for how we can install nodejs and npm on various operating systems and also the installation of fkill globally using npm. We have also discussed about how to kill process running on a specific port and how to kill a process with process name, port and using PIDs....

Contact Us