How to view a list of all port numbers in Linux

No Comments
  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.

Image Credits: Photo by Isis França on Unsplash.

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link