ss Command Examples

Utility to investigate sockets. More information: https://manned.org/ss.8.

ss -a {{-t|-u|-w|-x}}

ss {{state/exclude}} {{bucket/big/connected/synchronized/...}}

ss -t src :{{443}}

ss -lt src :{{8080}}

ss -pt dst :{{ssh}}

ss -u 'sport == :{{source_port}} and dport == :{{destination_port}}'

ss -4t src {{192.168/16}}

ss --kill dst {{192.168.1.17}} dport = {{8080}}