Question: I have a relatively big text file. I would like to copy the whole file content, and paste it to somewhere else on my Linux desktop. Is it possible to copy the content of a file to clipboard without opening the file?
Install xclip on pcDuino Ubuntu
$ sudo apt-get install xclip
$ echo "sudo apt-get upate" >> input.txt $ cat input.txt | xclip -i