Copying Remote Command Output to Your macOS Clipboard

I use Apple devices very often. Overall, I like macOS. Certainly more than Windows. One of the things I find extremely useful is a command I discovered not too long ago: pbcopy . pbcopy can be used to copy to the clipboard whatever it receives from standard input. For example, when I am in a shell, I often use a command like this: cat filename.md | pbcopy At that point I know that the content of…