SyntaxFix
Write A Post
Hire A Developer
Questions
use the xclip which is command line interface to X selections
xclip
apt-get install xclip
echo "test xclip " > /tmp/test.xclip xclip -i < /tmp/test.xclip xclip -o > /tmp/test.xclip.out cat /tmp/test.xclip.out # "test xclip"
enjoy.