Digital Marketing

How to copy your file to your clipboard from command line on Linux

For example, copy your ssh public key to your clipboard:
xclip -sel clip < ~/.ssh/
$ mongoimport --help | xclip -sel clip
See also:

xclip - command line interface to X selections (clipboard)

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux