This visual guide shows how the Linux commands netstat and ss list network connections. Both commands read system network info, filter for listening TCP and UDP sockets, format the output as a table, and display it. The example commands 'ss -tuln' and 'netstat -tuln' show all listening TCP and UDP ports without resolving IP addresses to names. The execution table traces each step: reading sockets, filtering listening ones, formatting output, and displaying it. Variables track the command used, the connections list state, and output format. Key moments clarify why outputs differ, the purpose of the -n option, and meaning of socket states like LISTEN and UNCONN. The quiz tests understanding of output lines, filtering steps, and effects of options. The snapshot summarizes usage and options for quick reference.