Linux Commands Helper
💬 Your AI-powered Linux assistant
traceroute Command - Print the Route Packets Take to Network Host
The traceroute command is used to display the route and measure transit delays of packets across an IP network. It helps diagnose network routing issues and identify where packets are being dropped or delayed.
Syntax
traceroute [options] host [packet_len]
Examples
traceroute google.com
Trace the route to google.com using default settings.
traceroute -I 8.8.8.8
Use ICMP ECHO instead of UDP datagrams to trace the route to 8.8.8.8.
Notes
- Requires root privileges for some options or on some systems.
- Useful for diagnosing network connectivity and routing issues.
- For simple reachability tests, use
ping
.