Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Today I learned
/sbin/ifconfig eth0 | grep 'inet addr' | cut -d: -f2 | awk '{print $1}'
hostname -I | awk '{print $3}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment