Bird
0
0

Why does the ping command continue indefinitely by default on Linux?

hard📝 Conceptual Q10 of 15
Linux CLI - Networking Commands
Why does the ping command continue indefinitely by default on Linux?
AIt keeps sending packets until manually stopped
BIt sends only one packet by default
CIt stops after 4 packets automatically
DIt requires a timeout option to run
Step-by-Step Solution
Solution:
  1. Step 1: Recall default ping behavior

    On Linux, ping sends packets continuously until interrupted by the user (Ctrl+C).
  2. Step 2: Compare with other options

    It stops after 4 packets automatically describes Windows behavior (stops after 4 packets), B is incorrect, D is false.
  3. Final Answer:

    It keeps sending packets until manually stopped -> Option A
  4. Quick Check:

    Linux ping default = continuous until stopped [OK]
Quick Trick: Linux ping runs until you press Ctrl+C [OK]
Common Mistakes:
  • Assuming ping sends one packet by default
  • Thinking ping stops automatically
  • Believing timeout is required to run

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes