Certified Network Defender (CND) — Question 155

Which command list all ports available on a server?

Answer options

Correct answer: B

Explanation

The correct answer is B, as 'sudo netstat -tunIp' accurately lists all open ports along with their respective details. The other options contain typos or incorrect command syntax, making them invalid for displaying port information.