Linux - Copying file to clipboard

Install tool: sudo apt install xclip Perform the copy: cat filename.base64 | xclip -rmlastnl -selection clipboard