Linux xclip command and linuxxclip command

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.