CompTIA Linux+ (XK0-004) — Question 35

A systems administrator is troubleshooting an intermittent network connection at the IP address 192.168.1.23. The administrator wishes to monitor the connection at five-minute intervals for one hour. Which of the following commands will accomplish this task?

Answer options

Correct answer: C

Explanation

The correct answer is C because it uses the '-c 12' option to send 12 pings and the '-i 300' option to set the interval to 300 seconds (5 minutes), matching the requirement to monitor for one hour. Option A sends pings every 5 seconds instead of 5 minutes, while option B sends only 12 pings without the correct interval, and option D sends pings too frequently, which does not meet the specified timing.