Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently read a bit of an article on HowToGeek that has me scratching my head a little. I've got fairly little experience with Linux though, so forgive me if this is entry-level:

"The tracepath command is similar to traceroute, but it doesn’t require root privileges."

http://www.howtogeek.com/108511/how-to-work-with-the-network-from-the-linux-terminal-11-commands-you-need-to-know/

How do traceroute and tracepath perform a similar function, differently?

What does traceroute do, which requires root privileges, that tracepath doesn't?

Are there scenarios where one should prefer tracepath over traceroute, or vice-versa?

share|improve this question

1 Answer

i think you have to read this http://www.ehow.com/list_7526520_differences-between-traceroute-tracepath.html

From the above link:

TracePath

Tracepath traces a path to a designated network address, reporting on the "time to live" or TTL lag and maximum transmission units (MTU) along the way. This command can be run by any user other with access to the command line prompt.


Traceroute Basics

Traceroute is essentially the same as Tracepath except that by default, it will only give the TTL value. If you want additional data, you must request those variables on the command line. Also, traceroute requires superuser access to run the command on a Linux box, and some advanced data requests may not be supported by all of the routers along the path. In a Windows environment, any user with access to the command line can run Traceroute.

share|improve this answer
Thanks for the link, but could you put some actual content in your answer? – Iszi Mar 19 '12 at 14:58
Hi bodhi.zazen , thank you for improving my post . :) – Jai Mar 20 '12 at 13:10
1  
Thanks for the clarification. However, the answer here (haven't gotten to review the link yet) is still missing two parts of the question: Why does traceroute require superuser access (especially since it actually seems it does less than tracepath by default)? And, aside from scenarios where you're not a superuser, why should you choose one over the other? – Iszi Mar 20 '12 at 13:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.