PSA: Terminal Commands to Customize Your Mac website has a nice article here referencing this Github page here maintained by Mathias Bynens that show you all sorts of Terminal Commands on the Mac to customize the Mac. It is a great resource. The Github page is incredibly in-depth. There are all sorts of commands you which allows you to make all sorts of changes to the OSX and Apple programs on the Macintosh. For a power user of the Mac this is an amazing resource.
Here are some that caught my eye as being really useful:

      # Disable hibernation (speeds up entering sleep mode)
        sudo pmset -a hibernatemode 0
      # Set Desktop as the default location for new Finder windows
        # For other paths, use `PfLo` and `file:///full/path/here/`
        defaults write NewWindowTarget -string "PfDe"
        defaults write NewWindowTargetPath -string "file://${HOME}/Desktop/"

Check out the CultofMac site and the Github site for more information. Really helpful.