Unlike the Windows,linux system, there are two shear plates: one is called the selection buffer (X11 selection) and the other is the shear plate (clipboard).
Select buffer (buffer content is available elsewhere): You can use the middle mouse button or type Shift+insert to paste the contents of the selection buffer.
Of course you can use: $ xclip-out//To output the current selection buffer '
If there is no Xclip command, Debian/ubuntu can be installed under the following command:
$ sudo apt-get install Xclip
the Clipboard (buffered content is available only under VIM): The Clipboard is similar to the Clipboard in Windows, after selecting the text content, CTRL + C or select ' Copy ' in the menu, then the contents are stored in the Clipboard.
Use the following command to view the contents of the Clipboard:
$ xclip-out-sel Clipboard
Instead, the contents of the Clipboard are CTRL + V. However, in some cases, such as gnome-terminal, can not directly use the CTRL+C,CTRL+V, this time will be replaced with Shift+ctrl+c,shift+ctrl+v.
However, for some GUI programs, such as Gedit, can only be called by the middle mouse button to select the contents of the buffer, the use of Shift+insert, the call is the content of the Clipboard.
Two buffers in Linux