Solved

Find port name list - easy question

Posted on 2008-10-01
6
971 Views
Last Modified: 2013-12-27
/etc/hosts gives the ip and the hoatname list. Likewise how can I find the list of ports and the assigned name for them?
0
Comment
Question by:shanikawm
6 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 22612487
0
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 22612499
/etc/services
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 22612500
use nmap commmand , you will see , which ports are open and what is their name

0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 8

Author Comment

by:shanikawm
ID: 22612508
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
 
LVL 48

Expert Comment

by:Tintin
ID: 22612514
As per my previous answer, /etc/services
0
 
LVL 8

Author Closing Comment

by:shanikawm
ID: 31501884
correct. Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now