How can I load a file's contents into the clipboard?

Posted by Jonathon Watney on Super User See other posts from Super User or by Jonathon Watney
Published on 2010-02-25T21:35:38Z Indexed on 2013/06/26 4:23 UTC
Read the original article Hit count: 425

Filed under:
|

I have a files where I need to copy their contents to another file or into an application and rather than open it up, select all the text then copy and paste I'd like to know if I can effectively cat the file contents into the clipboard. Is this possible?

A Windows program would be fine but something that works on Linux would be useful too. I don't use a Mac but it might be useful to others. Bonus points if this can be done on the command line.

© Super User or respective owner

Related posts about copy-paste

Related posts about clipboard