ss -tulpn lists listening ports on Linux2026-09-28·#linux·copy linksudo ss -tulpn The flags are TCP, UDP, listening, process and numeric.