Skip to content

Instantly share code, notes, and snippets.

@jeremyruppel
Created February 27, 2013 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyruppel/5052849 to your computer and use it in GitHub Desktop.
Save jeremyruppel/5052849 to your computer and use it in GitHub Desktop.
Alias for finding the current local IP address
alias ip="ifconfig en0 | tail -r | grep inet -m 1 | cut -d ' ' -f 2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment