Copy to clipboard

Win:

clip < file

Mac:

pbcopy < file

GNU/Linux (requires xclip):

xclip -sel clip < file

Last updated