tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
Install the traceroute package via terminal by running:
After that, type this in the terminal:
For example:
you can also use web-sites as well:
As an alternative to traceroute, you might use mtr, it's like traceroute on steroids.
From the package description:
mtr combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool.
As mtr starts, it investigates the network connection between the host mtr runs on and a user-specified destination host. After it determines the address of each network hop between the machines, it sends a sequence ICMP ECHO requests to each one to determine the quality of the link to each machine. As it does this, it prints running statistics about each machine.
mtr-tiny is compiled without support for X and conserves disk space.
To install it:
Usage example:
Example output:
traceroute
,traceroute6
,tracepath
perform this task. They are executable programs installed in Unix systems (somewhere in/usr/bin/
, or/bin/
, or/usr/sbin/
, or/sbin/
-- the last two are not in the PATH for a normal user, only for root). They are independent of any terminal package.So, tracepath is most suitable option to your question if taking in account that you used as a reference a native software (tracert).
Something that worth to mention is that tracepath is in the standard installation package of Ubuntu. Hence, if you are a Ubuntu lover, you may consider learning it instead of traceroute or mtr.
mtr, in the other hand is widely used by collocation providers because additional features that may be very useful while tracking problems, while traceroute has a very suggestive name that is easy to remember.
I believe this has changed. You no longer type the traceroute command line with the "ip/website url" configuration. Instead you will need to type:
I don't know why this has been simplified but after attempting to find a solution as to why Hulu.com was freezing up on me it was suggested to try a
traceroute
command. On a hunch I tried it with just the domain name and extension and it worked perfectly.