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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is arch linux hard to use?

826


Why linux is more secure than windows?

876


What code is linux written in?

934


You routinely compress old log files. You now need to examine a log from two months ago. In order to view its contents without first having to decompress it, use the which utility in linux?

852


How do you check permissions of each directory to a file?

877


State the difference between swap partition and a swap file?

923


What causes linux kernel panic?

880


How do you execute a file in linux?

982


What is mutex in linux?

913


What is a critical section problem?

884


Why linux is so important?

891


Which are the different modes of vi editor?

921


how will you mount an ntfs partition in linux?

971


What does stands for in linux?

874


How do I find server information in linux?

873