Setting and getting clipboard content from terminal

Talles L - Sep 3 - - Dev Community

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
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player