Copying to the clipboard from the Linux command line

Just use xsel.

Debian install:

sudo apt install xsel

Demo:

cat /tmp/takeout-order | xsel --clipboard