Problem Statement
Which command lists active network connections and ports?
Explanation
netstat shows open ports, listening services, and active connections.
Options like -tuln display TCP/UDP sockets numerically without DNS lookups, helping identify which ports are in use.
Code Solution
SolutionRead Only
netstat -tuln
Practice Sets
This question appears in the following practice sets: