There is a simple way to capture your screen with mac. You have to press the combination of
cmd+shift+3 to capture the whole screen or
cmd+shift+4 to capture selected screen. As a default, all of the screenshot files saved in Desktop folder. There is no problem if just one or two screenshot files but it can be a problem if you have a hundred or thousand of it in your desktop. So, i tried to move default location for screenshot files to another location to keep my desktop clean.
Open terminal to execute command:
note: make sure you have login as admin to execute command.
defaults write com.apple.screencapture location <path>
defaults write com.apple.screencapture name <string>
change file format
defaults write com.apple.screencapture type <format>
And then, restart your mac to apply changes.