/kpv

Kill the process listening on the specified port, written in V。根据端口号关闭进程,它小巧,轻量

Primary LanguageVMIT LicenseMIT

kpv

ci Latest Version License Repo Size

Kill the process listening on the specified port.

support Windows/Linux/macOS

Installation

If you are using unix style system(macOS/Linux). enter the command line to install.

# install the latest version
curl -fsSL https://raw.githubusercontent.com/axetroy/kpv/master/install.sh | bash
# install the specified version
curl -fsSL https://raw.githubusercontent.com/axetroy/kpv/master/install.sh | bash -s v0.1.7

Or download the release file for your platform and put it to $PATH folder.

Usage

$ kpv --help
kpv - Kill the process listening on the specified port
USAGE:
    kpv <OPTIONS> <...PORTS>
OPTIONS:
    -h,--help                        print help informatino
    -V,--version                     print version information
    -f,--force                       kill forcing
EXAMPLE:
    kpv 1080 9527                    kill multiple ports
    kpv -f 1080                      kill the process by forcing
VERSION:
    v0.1.7
SOURCE CODE:
    https://github.com/axetroy/kpv

Build from source

$ make

LICENSE

The MIT License