how to quit finder through terminal code example Example: mac quit finder defaults write com.apple.finder QuitMenuItem -bool true