Mac Screenshot to Clipboard and File at the Same Time

Three options for a Mac screenshot: the Control key sends it to the clipboard only, a Save to folder sends it to a file only, and a shell function does both