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

Explain how you can find a file using terminal?

842


What is the most advanced linux?

885


Search for: how do I install linux?

851


We saw the mention on the linux bios website about one million devices shipped with linux bios. Could you tell us more about these devices?

853


What is curl in linux?

951


Is red hat linux free?

864


What would you use to edit contents of the file?

844


What are the file permissions in linux?

952


How documentation of an application is stored?

881


What are different types of semaphores?

953


How check if port is open linux?

895


What is semaphore code?

958


You run a linux program in the background simultaneously when you start your linux server?

990


Does avg work on linux?

880


What is ssh? How to connect to a remote server via ssh?

938