Bird
0
0

What does the -n option do when used with the traceroute command?

easy📝 Conceptual Q1 of 15
Linux CLI - Networking Commands
What does the -n option do when used with the traceroute command?
AIt prevents resolving IP addresses to hostnames, showing only numeric IPs
BIt sets the maximum number of hops to 5
CIt enables verbose output with detailed packet info
DIt changes the packet size to 64 bytes
Step-by-Step Solution
Solution:
  1. Step 1: Understand the -n option in traceroute

    The -n option tells traceroute not to resolve IP addresses to hostnames, speeding up the output.
  2. Step 2: Compare with other options

    Other options like setting max hops or verbosity are different flags, not -n.
  3. Final Answer:

    It prevents resolving IP addresses to hostnames, showing only numeric IPs -> Option A
  4. Quick Check:

    -n disables hostname resolution = A [OK]
Quick Trick: Use -n to speed up traceroute by skipping hostname lookups [OK]
Common Mistakes:
  • Confusing -n with max hops option
  • Thinking -n increases verbosity
  • Assuming -n changes packet size

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes