Handy Apostils – macOS

Screenshot keyboard shortcuts and destination directory

All screens, fully – SHIFT+CMD 3
Selection – SHIFT+CMD 4

~$ defaults write com.apple.screencapture location ~/Pictures/
~$ killall SystemUIServer

Flush DNS Cache

$> sudo dscacheutil -flushcache;
$> sudo killall -HUP mDNSResponder;

Eject DVD/BR from terminal

Ejects all drives at the same time.

$> drutil tray eject