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
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.
Contact Us