Linux / DevOps · Flashcard

Which ss invocation lists listening TCP sockets with their processes?

  • Ass -tlnp
  • Bss -ulnp
  • Css -tanp
  • Dss -xlnp

Why this is the answer

-t selects TCP, -l listening, -n numeric ports, and -p shows the owning process. -u would instead filter for UDP sockets rather than TCP.

Official docs
Study in Gnoseed →