Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 736 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 736 Bytes

traceroute-mapper

Run it from your terminal:

Linux

Put this in your .bashrc:

function traceroute-mapper {
  xdg-open "https://stefansundin.github.io/traceroute-mapper/?trace=$(traceroute -q1 $* | sed ':a;N;$!ba;s/\n/%0A/g')"
}

Then simply run: traceroute-mapper example.com

Mac

Put this in your .bash_profile:

function traceroute-mapper {
  open "https://stefansundin.github.io/traceroute-mapper/?trace=$(traceroute -q1 $*)"
}

Then simply run: traceroute-mapper example.com

Windows

Put traceroute-mapper.bat in your %PATH% (e.g. C:\Windows\).

Then open cmd and run: traceroute-mapper example.com