23.10.09
pbcopy and pbpaste for Linux
Mac OS X has the useful commands pbcopy and pbpaste. pbcopy reads the contents of standard input into the clipboard; pbpaste writes the contents of the clipboard to standard output. These commands aren’t part of the standard set of commands on Linux, but they’re easily added. Simply install the XSel program via a package management system or directly from source, then add these lines to ~/.bashrc. Voilà! Easy commandline access to the clipboard.
alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output'
15.03.09
We’re Linux, and you can be, too!
Via my friend Waseem Daher from my MIT days comes this awesome video promoting Linux and Ksplice, the new hotness in rebootless security updates:
See also the original page for the video while you’re at it.