Low Orbit Flux Logo 2 F

Linux Command - tracepath

The tracepath command in Linux is a simpler alternative to traceroute for tracing the path packets take to a destination. It’s often installed by default and does not require root privileges, unlike traceroute which sometimes does require root. It isn’t able to use ICMP or TCP like traceroute.



tracepath google.com 

Show IPs only or IPs and hostnames:



tracepath -n google.com
tracepath -b google.com

Common options:



-n         # show numeric IPs only, skip DNS resolution
-b         # show both IP and hostname (default)
-p 8080    # set destination port (default: random UDP high port )