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
Is arch linux hard to use?
Why linux is more secure than windows?
What code is linux written in?
You routinely compress old log files. You now need to examine a log from two months ago. In order to view its contents without first having to decompress it, use the which utility in linux?
How do you check permissions of each directory to a file?
State the difference between swap partition and a swap file?
What causes linux kernel panic?
How do you execute a file in linux?
What is mutex in linux?
What is a critical section problem?
Why linux is so important?
Which are the different modes of vi editor?
how will you mount an ntfs partition in linux?
What does stands for in linux?
How do I find server information in linux?