Bird
0
0

What does the ping -i 2 example.com command do?

medium📝 Command Output Q5 of 15
Linux CLI - Networking Commands
What does the ping -i 2 example.com command do?
ASends ping requests every 2 seconds
BLimits ping to 2 packets
CSets timeout to 2 seconds
DPings only 2 hosts
Step-by-Step Solution
Solution:
  1. Step 1: Understand the -i option in ping

    The -i option sets the interval between sending each ping packet in seconds.
  2. Step 2: Match option meanings

    Sends ping requests every 2 seconds correctly states it sends pings every 2 seconds. Others confuse count or timeout.
  3. Final Answer:

    Sends ping requests every 2 seconds -> Option A
  4. Quick Check:

    -i sets interval seconds = sends every 2 seconds [OK]
Quick Trick: Use -i to set ping interval seconds [OK]
Common Mistakes:
  • Confusing -i with count
  • Thinking -i sets timeout
  • Assuming it limits hosts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes