Wednesday, December 25, 2013

Trace Route Command In Linux

Linux Command Trace Route

Command: traceroute

Command Usage: print the route packets trace to network host

Examples:
1. To find the network path from your localhost to www.wallpaperscollections.in

    $ traceroute 
www.wallpaperscollections.in

2. To disable hostname mapping in traceroute

    $ traceroute 
www.wallpaperscollections.in -n

3. To set the number of seconds to 0.2 seconds wait for
    response to a probe (default is 5.0). non-integer (float point)
    values allowed too

    $ traceroute 
www.wallpaperscollections.in -w 0.2

4. To print help info of this command

    $ traceroute --help

5. To set the number of probes per each hop to 5. default is 3

    $ traceroute 
www.wallpaperscollections.in -q 5

6. To start from the first_ttl hop (instead from 1)

    $ traceroute 
www.wallpaperscollections.in -f 5

Trace Route Command In Linux

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers