xclip, I think I love you

| No Comments

Today's unix "how did I live without this before" find is xclip, which I was inspired to find after reading this page of Mac OS X customization tips, which details the pbpaste command.

Basically, xclip allows you to interact with the xclipboard via the command line. So, if you want a directory listing in your clipboard, you can just do:

ls -l | xclip

Similarly, you can echo the current contents of the clipboard with xclip -o, which I've aliased to xpaste.

Currently listening to: Tool - (-) Ions.

Leave a comment

About this Entry

This page contains a single entry by was published on September 15, 2002 8:58 PM.

Really, it's not a photolog was the previous entry in this blog.

Scandalous is the next entry in this blog.

This is marginalia.org, a weblog by Bill Stilwell. I take the occasional photo.


Powered by Movable Type 4.24-en