Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@baybatu
Created July 20, 2017 12:17
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 baybatu/ca6a79c08093307a5f9b65cf0942e627 to your computer and use it in GitHub Desktop.
Save baybatu/ca6a79c08093307a5f9b65cf0942e627 to your computer and use it in GitHub Desktop.
inet address
ifconfig en0 | grep inet | grep -v inet6 | cut -d ' ' -f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment