Run it from your terminal:
Put this in your .bashrc
:
function traceroute-mapper {
xdg-open "https://passidel.github.io/traceroute-mapper/?trace=$(traceroute -q1 $* | sed ':a;N;$!ba;s/\n/%0A/g')"
}
Then simply run: traceroute-mapper google.com
Put this in your .bash_profile
:
function traceroute-mapper {
open "https://passidel.github.io/traceroute-mapper/?trace=$(traceroute -q1 $*)"
}
Then simply run: traceroute-mapper google.com
Put traceroute-mapper.bat in your %PATH%
(e.g. C:\Windows\
).
Then open cmd and run: traceroute-mapper google.com