Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created August 22, 2014 04:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shichao-an/b3c9b0ec8110d4d1cda9 to your computer and use it in GitHub Desktop.
Save shichao-an/b3c9b0ec8110d4d1cda9 to your computer and use it in GitHub Desktop.
Print routing table with netstat on FreeBSD/OS X
#!/bin/bash
netstat -nr -f inet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment