Overview
Command
Note: The below command shows ALL open ports on a Linux machine, not only ports that are awaiting connections(LISTENING). This includes random high-number souce ports assigned locally when a conection is established with a remote server(ESTABLISHED).