Find port name list - easy question

/etc/hosts gives the ip and the hoatname list. Likewise how can I find the list of ports and the assigned name for them?
LVL 8
shanikawmAsked:
Who is Participating?
 
TintinConnect With a Mentor Commented:
/etc/services
0
 
fosiul01Commented:
use nmap commmand , you will see , which ports are open and what is their name

0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
shanikawmAuthor Commented:
I meant netstat -a gives me

*.pa_arrs            *.*                0      0 49152      0 LISTEN
      *.pa_neid            *.*                0      0 49152      0 LISTEN
      *.pa_rcm1            *.*                0      0 49152      0 LISTEN
      *.54977              *.*                0      0 49152      0 LISTEN
      *.54979              *.*                0      0 49152      0 LISTEN
      *.pa_rcm2            *.*                0      0 49152      0 LISTEN

So i would like to find what is pa_arrs and so on. I know netstat -na gives the number. But where the mapping exists?
0
 
TintinCommented:
As per my previous answer, /etc/services
0
 
shanikawmAuthor Commented:
correct. Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.