Win:
clip < file
Mac:
pbcopy < file
GNU/Linux (requires xclip):
xclip
xclip -sel clip < file
Last updated 2 years ago