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
Explain how you can find a file using terminal?
What is the most advanced linux?
Search for: how do I install linux?
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?
What is curl in linux?
Is red hat linux free?
What would you use to edit contents of the file?
What are the file permissions in linux?
How documentation of an application is stored?
What are different types of semaphores?
How check if port is open linux?
What is semaphore code?
You run a linux program in the background simultaneously when you start your linux server?
Does avg work on linux?
What is ssh? How to connect to a remote server via ssh?