Wazaterm » Linux Commands » netstat

How to use netstat Linux command

The netstat is a command to print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.

Usage

Check listening ports with netstat

$ sudo netstat -tunlp