a) What command do you use to list all listening sockets? The output should also contain the name of the program to which the socket belongs.
b) Write the command to use to search out the following: how many IP packets and ICMP message were received respectively? How many TCP segments and UDP packets were sent? Contain the relevant output.