Skip to content

Instantly share code, notes, and snippets.

@jrickerd
Last active November 18, 2015 01:58
Show Gist options
  • Save jrickerd/0ad42baebde4db539856 to your computer and use it in GitHub Desktop.
Save jrickerd/0ad42baebde4db539856 to your computer and use it in GitHub Desktop.
Get ip for virtualbox bridge
ifconfig vboxnet1 | awk '/inet / {split($2, ary, /\//); print ary[1]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment