Get local IP address on OS X from Terminal
ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}'
Written by daz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Grep
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#