Bird
0
0

What will be the output of the command traceroute -n 8.8.8.8?

medium📝 Command Output Q13 of 15
Linux CLI - Networking Commands
What will be the output of the command traceroute -n 8.8.8.8?
AIt shows an error because -n is invalid
BIt shows the route to 8.8.8.8 with hostnames only, no IP addresses
CIt shows the route to 8.8.8.8 with IP addresses only, no hostnames
DIt shows the route with both hostnames and IP addresses
Step-by-Step Solution
Solution:
  1. Step 1: Understand the -n option in traceroute

    The -n option disables hostname resolution and shows IP addresses only.
  2. Step 2: Analyze output format

    Therefore, the output will list IP addresses without hostnames.
  3. Final Answer:

    It shows the route to 8.8.8.8 with IP addresses only, no hostnames -> Option C
  4. Quick Check:

    -n means no hostname lookup [OK]
Quick Trick: -n shows IPs only, no names [OK]
Common Mistakes:
  • Thinking -n shows hostnames
  • Assuming -n causes error
  • Expecting both IP and hostname with -n

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes