Every Monday, we'll show you how to do something new and simple with Apple's built-in command line application. You don't need any fancy software, or a knowledge of coding to do any of these. All you need is a keyboard to type 'em out!
Copy-and-paste in OS X is powerful, but nothing can match the copy-paste abilities of the Terminal commands we'll cover today. Using some simple piping techniques coupled with the pbpaste and pbcopy commands, we have the ability to copy and paste directly with text files from the Terminal. This means that you can instantly copy a file's contents to the clipboard without first having to open the file. Same goes for pasting directly to a file without having to create it first.
Continue reading, and we'll show you how it's done.