Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save grachevko/32ece991bd460b9bb193a241ded102c3 to your computer and use it in GitHub Desktop.
Save grachevko/32ece991bd460b9bb193a241ded102c3 to your computer and use it in GitHub Desktop.
/sbin/ip route|awk '/default/ { print $3 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment