Bird
0
0

You want to trace the path to example.com but skip hostname lookups and limit hops to 4. Which command achieves this?

hard📝 Application Q15 of 15
Linux CLI - Networking Commands
You want to trace the path to example.com but skip hostname lookups and limit hops to 4. Which command achieves this?
Atraceroute -m 4 -h example.com
Btraceroute -n -m 4 example.com
Ctraceroute --no-hostname --max-hops=4 example.com
Dtraceroute -4 -n example.com
Step-by-Step Solution
Solution:
  1. Step 1: Identify options for skipping hostname and limiting hops

    -n skips hostname lookup; -m 4 limits hops to 4.
  2. Step 2: Verify option correctness and order

    traceroute -n -m 4 example.com uses both correctly. traceroute -m 4 -h example.com uses invalid -h. traceroute --no-hostname --max-hops=4 example.com uses non-standard options. traceroute -4 -n example.com limits to IPv4 but not hops.
  3. Final Answer:

    traceroute -n -m 4 example.com -> Option B
  4. Quick Check:

    -n and -m 4 combined = correct command [OK]
Quick Trick: Combine -n and -m for no hostname and hop limit [OK]
Common Mistakes:
  • Using -h instead of -m for hops
  • Assuming --no-hostname is valid
  • Confusing -4 (IPv4) with hop limit

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes