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

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

#14 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

~10–19MB
~266K SLoC