xsel

Install

sudo apt-get install xsel

To put the contents of the clipboard/Ctrl+C to a file use,

xsel -b > some.txt

I am putting the clipboard contents to the some.txt file.