Mac OS X: How to start up in single-user, verbose mode or target mode

  1. Shut down your Mac if it is on.
  2. Press the power button to start the computer.
  3. Immediately press and hold the one of the following:

    • the Command + s key for single-user mode
    • the Command + v key for verbose mode
    • the t key (no command for this one) for target mode

single user mode is also called root mode

Check encryption status

diskutil cs list | grep Conversion

Shell command

say "a sentence"
echo "copy that" | pbcopy // Copy & paste from the term
tput bel (beep)
hdiutil attach /path/to/diskimage.dmg // mount disk image

Change the time between two time machine saves

sudo defaults write /System/Library/LaunchDaemons/ StartInterval -int 1800 # seconds


# install mac homebrew
ruby -e "$(curl -fsSL"
brew doctor
brew search ***
brew info ***
brew help