Skip to main content

Port and Service Management

Checking Port Usage

By Port Number

ss -tulp | grep PORT_NUMBER

Breakdown:

FlagDescription
-tTCP
-uUDP
-lListening
-pProcess info

By Application Name

ss -lnup | grep application_name

Example: Check unbound DNS service

ss -lnup | grep unbound