Top "Pbcopy" questions

How do I use pbcopy in a bash function? Can it be scripted?

I often find myself copying history commands to my clipboard using this: echo !123 | pbcopy This works fine from the Terminal. …

macos bash terminal .bash-profile pbcopy
How might I pass text data from the ruby console into my clipboard without saving to a file?

I'm trying to pass the array contained in a global variable I've created into my clipboard on my mac. It …

ruby unix clipboard pbcopy
Unable to have pbcopy -clipboard inside Screen

Problem Not solved although one answer was accepted: We are working to get Jonah's code to work. Problem: to change …

macos gnu-screen pbcopy