Glossary: Networking Beyond the Basics
ss
Also written: ss -tlnp, ss -tulnp, ss -tn, ss -tan, ss -ulnp, socket statistics
Socket statistics: lists a host's sockets. -t is TCP, -u UDP, -l listening only, -n numbers, -p programs and -a all states. ss -tlnp answers "is the service listening, and on which address?"