To display the routing table in OSX

There is a ‘route’ command in OSX for the manipulation of the network routing tables–surprisingly, it doesn’t have a ‘route print’ option. If you’re used to viewing the routing table (from Windows) using the route print command, that option does not exist in OSX.

In order to display the routing table in OSX, you can use

$ netstat -nr
Post navigation

(next post)
| | | .

{0 Comments .. you can add one }

Leave a comment