Multiple choice technology operating systems

How to get the info of only active internet connections in the Unix system ?

  1. netstat

  2. netstat -s

  3. netstat -t

  4. all the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The netstat -t command shows TCP connections, which are the active internet connections. Plain netstat shows all network connections, netstat -s shows summary statistics, and 'all the above' is incorrect since only the -t option specifically targets active internet connections.