Send Output to Clipboard using xclip

To send the output of a command in the terminal to the clipboard, the below is super helpful.

# Send contents of file to clipboard:
xclip -selection clip /tmp/owm.json

# Send pipe to clipboard:
rg --files-with-matches "^tags: \[\]" *.md | xclip -selection clip