Ubuntu – the equivalent of the “tracert” DOS command


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?

Best Answer

Install the traceroute package via terminal by running:

sudo apt-get install traceroute

After that, type this in the terminal:

traceroute [ip/web-site domain]

For example:


you can also use web-sites as well:

traceroute www.sitename.com