Skip to main content

Linux command: ss - socket statistics

ss is another utility to investigate sockets. It can display more TCP and state information than other tools.

Examples

List all sockets

$ ss -a

Show statistics

$ ss -s

List all listening sockets

$ ss -l

List TCP connections

$ ss -t

List UDP connections

$ ss -u

Show process using socket

$ ss -p

Popular posts from this blog

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.

Hydra: Notes

Hydra v9.1 (c) 2020 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.