less than 1 minute read

  • Solution
sudo apt-get install xclip

# You can pipe the output into xclip to be copied into the clipboard:
cat file | xclip

# To paste the text you just copied, you shell use:
xclip -o

Leave a comment