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
Does google own linux?
Is it possible to use shortcuts for a long pathname?
What type of file server do we have on a linux server?
Are drives such as hard drive and floppy drives represented with drive letters?
Can you run linux on any laptop?
What is pthread_mutex_t in c?
How do mutexes work?
What is meant by sticky bit?
Where are semaphores used?
What is ctrl c in linux?
How environment variable is set so that the file permission can be automatically set to the newly created files?
How do I search for files containing specific text in linux?
How do I check if a port is open linux?
How to setup password less remote login/ssh?
How can we describe a stateless linux server and what are its features?