Solved

Find port name list - easy question

Posted on 2008-10-01
6
976 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

728 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