Skip to content

Instantly share code, notes, and snippets.

@rmateu
Created November 28, 2013 22:20
Show Gist options
  • Save rmateu/7698848 to your computer and use it in GitHub Desktop.
Save rmateu/7698848 to your computer and use it in GitHub Desktop.
.bash_profile line to renew dhcp from terminal in OSX
alias dhcp-renew='echo "add State:/Network/Interface/en0/RefreshConfiguration temporary" | sudo scutil'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment