Question

I read in "TCP/IP Network Administration" by O'Reilly, 2002, that typing the route -n command should bring up a routing table.

When I typed it into the terminal on a Mac, it returned the following:

usage: route [-dnqtv] command [[modifiers] args]

What is the correct command to use to see the routing table in my terminal?

Was it helpful?

Solution

On Mac OS X you can use netstat(1). In your case, netstat -nr, probably.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top