🧀 Learn Linux

Advanced·Troubleshoot the network

ss: View sockets and listening ports

Put in free practice

Syntax

ss [-tulpna]

Options

-t
TCP
-u
UDP
-l
monitor
-p
process
-n
Numeric address
-a
all

Examples

ss -tulpn

Usage and sandbox support

Options can be combined; the sandbox displays fixed port snapshots and nginx status, without filtering item by item.

Hands-on exercises

Full documentation ↗

Related commands