Last active
March 22, 2017 12:23
-
-
Save alanbriolat/c2663329affe4644146c28ac681da17b to your computer and use it in GitHub Desktop.
Traceroute without traceroute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
T=8.8.8.8; MAX=30; for TTL in $(seq $MAX); do ping -c1 -t$TTL $T | grep -i "from"; [ "${PIPESTATUS[0]}" == 0 ]&&break; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment