There was a problem loading the comments.

How Do I Run a Traceroute on macOS or Linux?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

 

How Do I Run a Traceroute on macOS or Linux?

Running a traceroute on macOS or Linux is quick and easy using the built-in terminal. This helps identify network latency and routing issues.


For macOS Users:

  1. Open Terminal:

    • You can find it in Applications > Utilities > Terminal

    • Or search for "Terminal" using Spotlight (Command + Space)

  2. In the terminal, type the following command:

    traceroute yourdomain.tld
    

     

  3. Replace yourdomain.tld with the actual domain (e.g., example.com)

  4. Press Enter.


For Linux Users:

  1. Open your terminal emulator (Terminal, Konsole, GNOME Terminal, etc.).

  2. Type the following command:

    traceroute yourdomain.tld
    

     

  3. If traceroute is not installed, you can install it using your package manager:

    • For Debian/Ubuntu:

      sudo apt install traceroute
      
    • For RedHat/CentOS:

      sudo yum install traceroute
      
  4. After installing, rerun the command:

    traceroute yourdomain.tld
    

Copying the Results (macOS & Linux):

  • Simply click and drag to highlight the results in the terminal.

  • Then press Command + C (on macOS) or Ctrl + Shift + C (on most Linux terminals) to copy.

  • Paste into your support request or email.

 


Share via
Did you find this article useful?  

Related Articles

Tags

© Softsys Hosting