Setting clipboard: $ echo foo | xclip -selection c Enter fullscreen mode Exit fullscreen mode Getting clipboard: $ xclip -selection c -o foo Enter fullscreen mode Exit fullscreen mode