Mac OS X

Renewing DHCP leases from the Terminal in Mac OS X

On OSX, it takes a handful of clicks to release and renew the DHCP lease through the GUI. For someone who usually has a Terminal (or like five) open, a way to do it from the commandline would be nice. Figuring out how to do this took longer than the five seconds I wanted it to, so I thought I'd share.

Syndicate content