Bird
0
0

A user runs traceroute -n -q 0 8.8.8.8 but gets an error. What is the problem?

medium📝 Debug Q7 of 15
Linux CLI - Networking Commands
A user runs traceroute -n -q 0 8.8.8.8 but gets an error. What is the problem?
AThe <code>-n</code> option must come after the hostname
BThe <code>-q</code> option cannot be zero
CTraceroute requires root to use <code>-n</code>
DThe IP address is invalid
Step-by-Step Solution
Solution:
  1. Step 1: Understand the -q option

    The -q option sets the number of probes per hop and must be at least 1.
  2. Step 2: Analyze the error cause

    Setting -q 0 is invalid and causes an error. The other options and IP are valid.
  3. Final Answer:

    The -q option cannot be zero -> Option B
  4. Quick Check:

    -q must be >= 1 [OK]
Quick Trick: Never set -q to zero; minimum is 1 probe per hop [OK]
Common Mistakes:
  • Setting -q to zero
  • Misplacing -n option
  • Assuming root needed for -n

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes