Linux xclip command and linuxxclip command
I. Introduction
The xclip command establishes a channel between the terminal and the clipboard. It can be used to save the content of the terminal output or file to the clipboard as a command, it can also be used to output the clipboard content to a terminal or file.
In the X system, there are two mechanisms for copying a text segment from one window to another, namely Selections and cut buffers:
The common copy & paste mechanism uses the cut buffers mechanism. You can use the mouse to select a piece of text and then press the mouse in another window to copy the text. The selections mechanism is used.
Selection can be divided into master and slave selection. When you select a file with the mouse, the text is automatically copied to the master selection.
Then, press the middle mouse button in another place to automatically paste the content of the master selection.
Ii. Installation
1) yum Method
Yum install xclip
Iii. Instances
Http://blog.csdn.net/pfanaya/article/details/7665853