Taking screenshot with OS X

The following shortcuts can be used to take screenshots with OS X.

CMD+Shift+3

CMD+Shift+4

CMD+Shift+4 space click