[sf-lug] cat-like command

Gautier HAYOUN ghayoun at gmail.com
Sun Dec 20 02:49:08 PST 2009


Hello Brian,

I don't have an account on a big-endian but the command you are
looking for is xclip.
I installed it with `sudo apt-get install xclip` on my ubuntu 9.10.

to copy to the primary clipboard (paste with middle click) use it like this :
    echo "hello" | xclip

or to copy to the the manual copy clipboard (so you can paste with Ctrl-v) use :
    echo "hello" | xclip -sel clip

Best,
Gautier.

On Sun, Dec 20, 2009 at 3:36 AM, Brian Wood <woodbrian77 at gmail.com> wrote:
>
> Is there a command something like cat that will copy a
> file into the copy/paste buffer, so I can paste the contents
> somewhere after running the command?
>
> Also I'd like to find someone willing to give me an account
> on a big-endian machine.  I'm willing to give that person
> investments in Ebenezer Enterprises in exchange.
>
> TIA.
>
> --
> Brian Wood
> Ebenezer Enterprises
> http://www.webEbenezer.net
>
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
> Information about SF-LUG is at http://www.sf-lug.org/
>




More information about the sf-lug mailing list