#open-ports #process #port #pid #cli #cli-tool #system

app ports-cli

A minimal CLI tool to list open ports and associated processes

6 releases

0.2.2 Jan 4, 2022
0.2.1 Jan 4, 2022
0.1.2 Jan 3, 2022

#12 in #open-ports

MIT license

10KB
186 lines

shut

A minimal CLI tool to list open ports and associated processes.

Usage

By default, displays open IPv4 TCP ports, to adjust:

USAGE:
    ports [OPTIONS]

OPTIONS:
    -h, --help       Print help information
        --ipv6       display IPv6 addresses with open ports
    -m, --mine       show only ports opened by myself
        --udp        display UDP ports
    -V, --version    Print version information

Alternatives

Linux:

ss -tulpn

Dependencies

~8–18MB
~231K SLoC