Create a gist now

Instantly share code, notes, and snippets.

$ ifconfig | grep 'inet ' | grep -v 127.0.0.1 | cut -d\ -f2
alias ip="ifconfig | grep 'inet ' | grep -v 127.0.0.1 | cut -d\ -f2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment