Install New Software

With just the software Mac OS X includes (and perhaps a few shell scripts you write on your own or find on the Web), you can do a tremendous number of useful activities on the command line. But sooner or later you’re likely to encounter a task that requires a command-line program you don’t already have, which means you’ll need to find and install it yourself. (Admittedly, this is not for everyone, and if the next few paragraphs give you a headache, skip ahead to Command-Line Recipes and forget I ever mentioned installing your own software!)

Fortunately, the vast majority of command-line software created for Unix and Unix-like operating systems (such as the various Linux distributions) can run on your Mac too! (Refer back ...

Get Take Control of the Mac Command Line with Terminal, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.