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
How to zip a file in Linux?
Which scripting language is best for linux?
What is a zombie process?
Where standard output is usually directed?
Can linux be hacked?
How do you avoid deadlock while coding?
You want to search for all the *.tar files in your home directory and wants to delete all at once. How will you do it?
Why we use red hat linux?
What is the difference between lock and semaphore?
What is truncate linux?
Enlist the features of the linux operating system?
What is the basic difference between bash and dos?
What is yum in linux?
What is the difference between linux and unix?
What is named semaphore?