Tech Blog :: Mac tip: pipe text from the terminal to the clipboard


Feb 26 '11 2:24pm
Tags

Mac tip: pipe text from the terminal to the clipboard

Via Fantastip (from a Google search): if you're in the Mac terminal and want to pipe output to the OSX clipboard, use pbcopy, e.g.
echo "copyme" | pbcopy

Post new comment

Don't bother putting in spam links. They'll be set to rel=nofollow and will be removed and reported as spam shortly after submitting.

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you human?