TOOL » LINUX » PACKAGE

Ss

Usage

Utility to investigate sockets.

shell
ss OPTIONS
OptionDescription
-t --tcpDisplay TCP sockets.
-l --listeningDisplay only listening sockets (omitted by default).
-n --numericDo not try to resolve service names.
-p --processesShow process using socket.

Show currently used ports with process info:

shell
ss -tlnp