public
Last active

  • Download Gist
Alias to get IP on your Mac
1 2 3
$ 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"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.