Hold Command + Shift + 3 to get a screenshot which is immediately saved on the desktop as a png image named “Screen Shot YYYY-MM-DD at HH.MM.SS am/pm” (On Mac OS X Yosemite and El Capitan). There are three key-combinations for taking a screenshot on the Mac: Key-combination
Keyboard shortcuts for screen capture on the Mac