xclip--more about copy&paste--命令行粘贴
ubuntu上sudo apt-get install xclip
man xclip
然后体验去吧
比如有个文本文件,想复制到剪贴板,cat file.txt | xclip,然后中键就可以粘贴了!帅呆了吧!
开始以为clipboard会对应一个device,结果不是,http://stackoverflow.com/questions/993751/is-the-linux-system-clipboard-represented-in-the-file-system-somewhere-as-a-devi