Flush DNS on macOS

For some reason there is not a command that you could run to flush the local DNS cache on macOS. However there is a simple workaround to get clear the cache by killing the DNSresponder service 🙄 ….. but I always forget what the exact command is. sudo killall -HUP Read more…

Bootable macOS High Sierra USB Install Drive

Once in a while you may want to do a clean install of macOS High Sierra, or you have multiple Macs to install it on, then a bootable flash drive for is your best bet for easy installation.

Note: This guide is based macOS High Sierra other versions has a different command for creating the bootable USB thumb drive.

Here’s how to make a bootable thumb drive. (more…)

macOS Sierra – Invalid active developer path

After upgrading to macOS Sierra I suddenly couldn’t use git. A simple git clone [repo] would give me an nice error like: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun It appears that I need to reinstall xcode, so execute; xcode-select –install