What command would I use to display all established TCP and
What command would I use to display all established TCP and UDP connections along with the name of the program which established the connection?
Linux Administration
Solution
Answer:
TCP connections :-
$ netstat -at
UDP connections :
Explanation:
TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6.
