sudo apt-get install xclip pastebinit # Ubuntusudo pacman -S xclip pastebinit # Manjaro, Arch
xclip -sel clip < ~/.ssh/id_rsa.pub
dmesg | xclip -sel clip
xclip -o
echo | xclip -o
journalctl -b | pastebinit
xclip -o | pastebinit -a user