Launch Terminal: Press ⌘+Space → type “Terminal” → Enter.(Or Finder → Applications → Utilities → Terminal.)
Once the app is opened, write traceroute, enter the domain name or IP which you want to perform the traceroute command for, and then hit enter:
traceroute example.com(Replace example.com with a domain or IP)
How to copy the results:
Highlight all the results text from top left to bottom right.
'Right Click' with your mouse and select 'Copy'.
'Right Click' with your mouse and select 'Paste' on the desired destination.
