Skip to content

Instantly share code, notes, and snippets.

@lloiacono
Created August 4, 2015 08:43
Show Gist options
  • Save lloiacono/adc10eab785942b79054 to your computer and use it in GitHub Desktop.
Save lloiacono/adc10eab785942b79054 to your computer and use it in GitHub Desktop.
#get vps ip address
ifconfig eth0 | grep inet | awk '{ print $2 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment