Friday, April 20, 2007

Copying to the clipboard in UNIX

You can send any output to the clipboard by using pbcopy. For example: history | pbcopy will send the output of history command to the clipboard. You can just paste it in email or other document. Very nice. pbpaste will paste the contents of the clip board.

No comments:

Post a Comment