MTR is the program used to perform traceroute and ping test. This application is supported for most of the Linux Distro and Macintosh device.
For Ubuntu user, you may execute the following command to install MTR.
# sudo aptitude install mtr
For other Unix distro, you may download the source file as below and install them,
Once it is installed, you may perform the test like,
# mtr domain.com