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

What are filenames that are preceded by a dot?

927


What is linux kernel?

889


Can I install linux on windows?

905


Torvalds, wrote most of the linux kernel in c++ programming language, do you agree?

927


Is linux mint free?

854


What are the different modes of Network bonding in Linux?

873


What is the root account?

867


How can you enhance the security of the password file?

825


Can I use linux for gaming?

872


explain the redirection operator.

907


What is semaphore in unix example?

850


Linux is which kind of operating system?

843


What's the difference between unix and linux?

936


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

923


How do you get full path of a file in Linux?

928