Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: bakedjake
I want this:
ls -A1 > "clipboard"
Then I can "paste" this anywhere. I can use the mouse methode, but want the output redirect. I'm using cygwin by the way.
cat filename ¦ xclip
X clipboards are not the same as Gnome or KDE clipboards, however. Someone wrote a bash function for KDE called "klip" that uses the KDE utility "klipper" to do the same thing (search for it).. I didn't find anything similar for Gnome, but some Gnome apps play nicely with X clipboards...so maybe xclip would work?
So it will depend on which application are you pasting into, unfortunately.