Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In linux wat is the command to see on which port which
service is running? and wat is the differnece between
/etc/services file and netstat command

Answers were Sorted based on User's Feedback



In linux wat is the command to see on which port which service is running? and wat is the differnec..

Answer / srinivas antarvedi

i)which port which service is running

netstat -tulpn

lists all the processes running,the service name with the upd or tcp port, and the socket information

ii)/etc/services is the general port numbers and the serices that are associated with the ports where are netstat shows the running serviced,ports,the application name associated and the socket info too.

Is This Answer Correct ?    5 Yes 0 No

In linux wat is the command to see on which port which service is running? and wat is the differnec..

Answer / raj

you can also use nmap comand.This actualy shows the services
and ports open at that time.

usage: nmap

Is This Answer Correct ?    0 Yes 0 No

In linux wat is the command to see on which port which service is running? and wat is the differnec..

Answer / vadiraj joish

Netstat :- is the command which shows the running process
and what process is mapped to what port number.

/etc/services :- This file give you in the information about
the protocals and portnumbers that they use.

Note:- Portnumbers can be changed according to the requirement.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

How can we change speed and make full duplex settings for eth0?

0 Answers  


What are semaphores in linux?

0 Answers  


How do I change my profile in linux?

0 Answers  


Is arch linux good?

0 Answers  


How to see the list of mounted devices on linux?

0 Answers  


How do I find system information in linux?

0 Answers  


Which linux is most like windows?

0 Answers  


How to make usb bootable?

0 Answers  


What is mutex and semaphore?

0 Answers  


Can you give a detailed explanation on how the boot process of the linux version you like happens?

0 Answers  


mount -r is used to mount a file in read only mode. State Whether True or False?

0 Answers  


what is trap signal

1 Answers  


Categories