List listening TCP sockets with process info.
Section: Filtering and Sorting
Show process for listening sockets
bash
bash
ss -lntpExplanation
List listening TCP sockets with process info.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filtering and Sorting