Clipboard integration


show more Clipboard integration provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users show less
please wait ...

Clipboard integration

On the Mac you're probably with the concept of the Clipboard. You're inside a document in one application, you select some text, you copy it, you switch to another document or another application, and you paste it there. Well, in Unix we don't have a global clipboard like that. But we can make use of the same one that the Mac Finder uses. And we can use it within Unix or we can use it to ferry data back and forth between Unix and the Finder. To do it we'll use a pair of Mac-only Unix commands called pbcopy and pbpaste. The pb stands for Pasteboard. Now when you're going to select something and copy it in the Finder, you use your mouse to select it.

But in Unix we don't have a mouse. I mean of course I have the mouse here. That's the Mac OS allowing me to work with Terminal. But in Unix itself, it's all command line. So in order to select something we're going to need to have input. And we've already seen how to work with input in Unix. So let's say...

Clipboard integration
Video duration: 5m 5s 6h 35m Beginner

Viewers:

Clipboard integration provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users

Subject:
IT
Software:
Mac OS X Unix
Author:
please wait ...