Copy to clipboard from command line

How to copy to clipboard from command line:

# Make the script below

echo "anyword to copy" |xclip -sel clip

----

How this command after execute. It will copy to clipboard the "anyword to copy"

and do keyboard key Ctrl-v to copy it to any place need.


Comments

Popular posts from this blog

login website quicker using linux command line

Ansible