Skip to content

Instantly share code, notes, and snippets.

@GreggSetzer GreggSetzer/ip.txt

Created Aug 29, 2018
What would you like to do?
Retrieve your local IP address at Mac Command LIne
alias ip='ifconfig | grep "inet " | grep -v | cut -d\ -f2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.