ss
Installation
SKILL.md
Identity
| Property | Value |
|---|---|
| Binary | ss |
| Config | No persistent config — invoked directly |
| Logs | No persistent logs — output to terminal |
| Type | CLI tool (part of iproute2) |
| Install | apt install iproute2 / dnf install iproute (usually pre-installed) |
Key Operations
| Task | Command |
|---|---|
| All listening TCP/UDP with PID (most common) | ss -tulpn |
| All established TCP connections | ss -t state established |
| Filter by local port | ss -tlnp sport = :443 |
| Filter by remote port | ss -tnp dport = :22 |
| Filter by remote host | ss -tnp dst 192.168.1.1 |
Related skills