Linux DNS Performance Test

$ git clone –depth=1 https://github.
Read more →

macOS Clear DNS cache

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Read more →

macOS Get MD5/SHA checksum

$ md5 -r /sbin/md5 1b8448b7f10007bd1f9b2e1ee3f07912 /sbin/md5 $ shasum /sbin/md5 7de99f419b636f7ebd18b5c8fae67acba3aa668f /sbin/md5 $ shasum -a 256 /sbin/md5 f37ffa7cfb4e854479f8e1bae6e106342cb8dc5562d6259b8e4a858474f1704a /sbin/md5 $ shasum -a 512 /sbin/md5 16bf560de944216c79418fb9a38f3f7d3558226320eb51ce1ab1e33f553792018c9629a183390251f6321f7cd80a0df568e3d8926aeb98de7b0ef692f1388fcb /sbin/md5 $ shasum -a 512256 /sbin/md5 ad7541f42d72165af43a67c2e7bc6e2cfc36308e92b931befdc1d77e84f7d81c /sbin/md5
Read more →

macOS Get System Integrity Protection (SIP) status

$ csrutil status System Integrity Protection status: enabled.
Read more →

macOS Get DNS Servers

$ scutil –dns | grep nameserver | sort -u nameserver[0] : 1.
Read more →

macOS Get public IPv4/IPv6 address

$ dig +short myip.
Read more →

macOS iCloud Drive alias

echo "alias icloud='cd /Library/Mobile\ Documents/comapple~CloudDocs'" >> ~/.
Read more →

macOS ll alias

echo "alias ll='ls -alG'" >> ~/.
Read more →

macOS Install Homebrew

xcode-select –install /usr/bin/ruby -e "$(curl -fsSL https://raw.
Read more →