Traceroute and tracert commands are network diagnostic tools used to track the pathway taken by a packet on an IP network from source to destination. The main difference is of the Operating System and how the command is implemented in the background. The command is available in Unix OS as ‘traceroute’, while it is available as ‘tracert’ in Windows.
You can install the traceroute package via terminal by running
sudo apt-get install traceroute
After installing traceroute , type below command in the terminal:
traceroute [ip/web-site url]