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
What are filenames that are preceded by a dot?
What is linux kernel?
Can I install linux on windows?
Torvalds, wrote most of the linux kernel in c++ programming language, do you agree?
Is linux mint free?
What are the different modes of Network bonding in Linux?
What is the root account?
How can you enhance the security of the password file?
Can I use linux for gaming?
explain the redirection operator.
What is semaphore in unix example?
Linux is which kind of operating system?
What's the difference between unix and linux?
Can you give a detailed explanation on how the boot process of the linux version you like happens?
How do you get full path of a file in Linux?