A person is troubleshooting a network issue and needs to see a list of all active network connections.
Which Linux command should be used?
Suggested Answer: B
Get Premium Network and Security Foundation (D315) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The netstat command in Linux displays active network connections, listening ports, and network statistics. It is useful for diagnosing network issues and identifying open connections.
nslookup is for DNS queries.
dig provides DNS information, not network connection status.
ifconfig shows network interface details but does not list active connections.
26 comments · newest first
CA
Carissa
5 months ago
I was torn between netstat and ifconfig, but netstat is more relevant here.
ZA
Zana
5 months ago
I feel confident about this question. Netstat gives detailed info.
MA
Mauricio
6 months ago
Agreed! Netstat is perfect for this.
KA
Katheryn
6 months ago
I think the answer is B) netstat. It shows active connections.
AL
Alexis
6 months ago
nslookup is for DNS, not connections!
HU
Hui
6 months ago
Wait, can you really use netstat for that?
LA
Laticia
6 months ago
B is correct, netstat shows all active connections.
BU
Buck
6 months ago
I thought ifconfig was the go-to for this?
ZA
Zana
7 months ago
Definitely B) netstat for active connections.
CH
Cheryl
7 months ago
B) netstat? More like B) best-stat! Am I right? *crickets*
SH
Shalon
7 months ago
B) netstat is the way to go. Gotta love those old-school Linux commands.
CO
Coletta
8 months ago
I'd go with B) netstat. It's a classic Linux networking tool.
SE
Sena
8 months ago
Definitely B) netstat. That's the go-to command for network troubleshooting.
HO
Hoa
8 months ago
B) netstat is the correct command to see a list of active network connections.
AZ
Azzie
8 months ago
I thought nslookup was for DNS queries, so that can't be it. I really hope netstat is the correct answer!
DO
Dominque
8 months ago
I keep mixing up netstat and ifconfig. I think ifconfig is more about interface configurations, not connections.
LI
Linn
8 months ago
I remember practicing with netstat in a lab, and it showed all the active connections. That feels right.
FA
Fausto
9 months ago
I think the command we need is netstat, but I'm not entirely sure if it's the best choice for active connections.
DA
Danica
9 months ago
Netstat, got it. This is a classic Linux networking question. I feel good about selecting the right answer on this one.
TA
Taryn
9 months ago
Okay, let me think this through. Netstat is for viewing network connections, while ifconfig is more for configuring network interfaces. I'm pretty confident netstat is the right choice here.
CR
Cristal
9 months ago
Wait, is it netstat or ifconfig? I'm a little unsure about the difference between those two commands.
RO
Rosamond
9 months ago
Netstat, that's the one! I remember learning that in my Linux class. Should be able to get this one right.
CI
Ciara
10 months ago
Hmm, this one seems straightforward. I think netstat is the command we need to list active network connections.
JA
Janessa
3 months ago
For sure! It's a go-to command for network troubleshooting.
EL
Elouise
4 months ago
Yeah, it shows all the active connections.
JA
Jacki
5 months ago
I agree, netstat is definitely the right choice.