hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    What is the purpose of the -n option in the Linux traceroute command?
    Question



    What is the purpose of the -n option in the Linux traceroute command?

    A.

    Displays the output in numeric IP format without resolving hostnames

    B.

    Traces routes to the local network only

    C.

    Resolves hostnames to domain names

    D.

    Specifies the maximum number of hops

    E.

    Displays additional debugging information

    Correct option is A

    The -n option in the traceroute command forces the command to skip DNS resolution and display the route using only numeric IP addresses. This makes the command execute faster by avoiding delays caused by DNS lookups.
    Important Key Points:
    1. The traceroute command is used to track the path packets take to reach a network destination.
    2. The -n option is beneficial when you need faster results or when DNS resolution is unnecessary.
    3. By skipping DNS lookups, the command directly shows IP addresses instead of hostnames.
    4. Traceroute helps network administrators diagnose routing issues or identify bottlenecks.
    Knowledge Booster:
    · Default Behavior: Without the -n option, traceroute attempts to resolve IP addresses to hostnames.
    · -m Option: Specifies the maximum number of hops (TTL) for the command.
    · -w Option: Sets the timeout for waiting for a reply from a hop.
    · -q Option: Changes the number of queries sent to each hop.
    · Use Case: Skipping DNS resolution is useful in environments with slow or unavailable DNS servers.

    Free Tests

    Free
    Must Attempt

    RBI Asst Prelims 2026: Quant Advance level Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt

    RBI Asst Prelims 2026: Reasoning Advance level Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt

    NABARD Development Assistant Mains 2026 Full Mock Test -01

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon105 Mins
    languageIcon English
    test-prime-package

    Access ‘IBPS SO IT Officer’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    383k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow