Binary package “xsel” in ubuntu xenial

command-line tool to access X clipboard and selection buffers

 XSel is a command-line program for getting and setting the contents of
 the X selection. It can also append and have it follow a growing file
 (similar to tail -f).