XK0-005 · Question #6
A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP. Which of the following commands should the administrator execute?
The correct answer is A. ping -c 10 host1. The command 'ping -c 10 host1' sends exactly 10 ICMP echo request packets to host1 and displays round-trip time (RTT) statistics including min, max, average, and packet loss upon completion. The '-c' flag specifies the packet count. Option B is incorrect because 'traceroute'…
Question
A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP. Which of the following commands should the administrator execute?
Options
- Aping -c 10 host1
- Btraceroute -c 10 host1
- Cnetstat host1
- Dpathping -c 10 host1
How the community answered
(28 responses)- A93% (26)
- B4% (1)
- D4% (1)
Explanation
The command 'ping -c 10 host1' sends exactly 10 ICMP echo request packets to host1 and displays round-trip time (RTT) statistics including min, max, average, and packet loss upon completion. The '-c' flag specifies the packet count. Option B is incorrect because 'traceroute' does not use '-c' for packet count in the same way and is designed to show the network path (hops), not just endpoint RTT statistics. Option C ('netstat') displays active network connections and routing tables - it does not send ICMP packets or test connectivity. Option D ('pathping') is a Windows command, not available on Linux.
Topics
Community Discussion
No community discussion yet for this question.