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