I'm trying to give the following command:
echo "hi" | xclip -selection c
This doesn't work? It has worked in the past, but never consistently. I also tried
echo "hi" | xclip -selection primary
echo "hi" | xclip -selection clipboard
etc....
xclip is installed (I'm pretty familiar with Linux :-) ) and there is no output, it just moves onto the next line and my clipboard contents do not change.
Here is my linux version:
[1450] cgeorge@uaf-7 $ cat /proc/version
Linux version 2.6.18-371.1.2.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue Oct 22 12:51:53 EDT 2013