Create a gist now

Instantly share code, notes, and snippets.

@stondo /
Last active Sep 14, 2016

What would you like to do?
ifconfig eth0:1 | grep "inet addr" | cut -d: -f2 | awk '{print $1}'

stondo commented Apr 18, 2016

bash script to quickly get private IP of your servers.
(Remember to change your interface name to match your setup)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment