How To: Trace Route (MAC OS X)

Mac OS X has a command-line utility for performing a trace route called "traceroute". A trace route is a network map of connection points to get from one location, usually your device to another location (e.g. ). The trace route measures the turn-by-turn steps (or hops) and associated time to complete the trace.

To perform a trace route on a Mac OS X computer, you must open a Terminal window. Terminal can be found by opening the Finder, selection Applications and Utilities. To open a terminal session, double-click on "".

Inside the Terminal application, the traceroute command is "traceroute" and the specified target (i.e. ). The command will output the results of the traceroute to the screen.

To copy this result simple highlight and copy (Command (?) C). You may also export the results of the trace route directly to a file on your computer. The example below outputs the trace route results to the file "traceroute_results.txt" on the user's Desktop.

The resulting file will include the same trace route information that is displayed on the screen in the previous step.


Article ID: 774
Fri 7/19/19 5:36 PM
Mon 8/17/20 3:49 PM