Skip to content

Copy The Contents Of A File Top Clipboard From Commandline

Copy the Contents of a File to Clipboard from CommandLine#

Prerequisites:

sudo apt-get install xclip

Usage:

xclip -sel clip < ~/.ssh/id_rsa.pub