helpermethod / pk

Killing processes by port number, with style.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pk

License

pk (short for: process kill) is a shell script for killing a process by TCP listen port number.

Installation

curl -sSL https://raw.githubusercontent.com/helpermethod/pk/main/pk > "$HOME"/bin/pk && chmod +x "$HOME"/bin/pk

Make sure to add $HOME/bin to your PATH.

Usage

To kill (interrupt) the process listening on port 8080 type

pk 8080

About

Killing processes by port number, with style.

License:MIT License


Languages

Language:Shell 100.0%