How to find the ports that a linux machine listen on Posted on July 15, 2020 by Henrik sudo netstat -tulpn | grep LISTEN