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/id_rsa.pub
$ mongoimport --help | xclip -sel clip
See also:

xclip - command line interface to X selections (clipboard)

Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database