This guide explains how to copy file contents into clipboard in Linux using Xclip and Xsel programs, without actually displaying the contents of the files.
Source: LXer – Copy file contents into Clipboard without displaying its contents, using Xclip and Xsel programs in Linux