Display Route Table on macOS

From Bonus Bits
Jump to: navigation, search

Purpose

This article gives the steps to display the route table on Apple macOS X. I keep forgetting they don't have a routeprint command so wrote this for the next time I'm chasing my tail I can quickly look it up.


Command Line

  1. Open Terminal
  2. Run this command
    netstat -nr