traceroute is a network diagnostic tool that shows the path packets take from your device to a destination server. It helps identify network delays, routing issues, or connectivity problems. Termux allows you to install and use traceroute easily on your Android phone.
Installation & Basic Commands
Install traceroute in Termux:
pkg update && pkg upgrade -ypkg install traceroute -yCheck traceroute version:
traceroute -VTrace the route to a website:
traceroute example.comTrace using a specific number of hops:
traceroute -m 15 example.comUse ICMP instead of UDP:
traceroute -I example.comSet packet size:
traceroute -q 1 -w 2 example.comSave traceroute output to a file:
traceroute example.com > route.txtUninstall traceroute:
pkg uninstall traceroute