Linux

How to view a list of all port numbers in Linux

Written by Ian Carnaghan · 7 sec read >
  1. Type in the following command in the command line:
    cat /etc/services
  2. Hit the enter key
  3. And now a list of TCP and UDP port numbers will appear together with the service name that’s using them.

Last Updated On April 07, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

avatar
  Subscribe  
Notify of