Useful macOS network terminal commands – An introduction to Traceroute

In this video we take a look at a terminal command that will allow us to check the path between two internet connections. The traceroute command can be very useful if you have a network connectivity problem, as you can use it to pinpoint exactly where a connection fails.

Quick reference notes:

  • Open the Terminal application found in the Utilities folder within Applications
  • Type the following 
traceroute -m 10

Note: -m is a variable that allows you to control how many hops traceroute will make. If you do not use the -m variable the traceroute command, twill continue until it times out.

  • When you press enter on the keyboard, traceroute will begin displaying results from its report
  • After completing your test you can end your Terminal session by typing.
exit

Reference Material:

Wikipedia article – Terminal (macOS)
Apple article – Terminal User Guide for Mac

Add comment

Leave a Reply