Skip to content

stefansundin/traceroute-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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