Use a command's output as input of the clip[b]oard (equivalent to Ctrl + C)
X11 selection and clipboard manipulation tool.
More information: <https://manned.org/xsel>.
echo 123 | xsel -ib
click the source code to copy
on any operating system with