Bird
0
0

You run ping -c 3 example.com but get an error: 'ping: unknown option -c'. What is the likely cause?

medium📝 Debug Q6 of 15
Linux CLI - Networking Commands
You run ping -c 3 example.com but get an error: 'ping: unknown option -c'. What is the likely cause?
Aexample.com is down
BUsing Linux ping syntax on a Windows system
CThe network cable is unplugged
DTyping the command correctly
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the error message

    'unknown option -c' suggests the ping command does not recognize '-c', typical on Windows ping.
  2. Step 2: Understand platform differences

    Linux ping uses '-c' for count; Windows uses '-n'. Using Linux syntax on Windows causes error.
  3. Final Answer:

    Using Linux ping syntax on a Windows system -> Option B
  4. Quick Check:

    Wrong ping syntax for OS = unknown option error [OK]
Quick Trick: Use OS-appropriate ping options [OK]
Common Mistakes:
  • Assuming network cable issue
  • Blaming remote host down
  • Ignoring OS differences

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes