Skip to content

Instantly share code, notes, and snippets.

@sebnash
Created October 1, 2012 11:16
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 sebnash/3811027 to your computer and use it in GitHub Desktop.
Save sebnash/3811027 to your computer and use it in GitHub Desktop.
One-liner: OS X refresh DHCP
ipconfig set en0 DHCP
@sebnash
Copy link
Author

sebnash commented Oct 1, 2012

  • Run as root
  • Change interface-name as required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment