Instantly share code, notes, and snippets.

Embed
What would you like to do?
Retrieve your local IP address at Mac Command LIne
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