Skip to Content
Mac Hacks
book

Mac Hacks

by Chris Seibold
March 2013
Intermediate to advanced
330 pages
9h 44m
English
O'Reilly Media, Inc.
Content preview from Mac Hacks

Chapter 6. Fun with Unix

Unix is what hides behind the pretty face of OS X. All those nifty graphics are powered by command-line programs that remain inscrutable to the vast majority of Mac owners. But you’re not the vast majority, you’re a Mac Hacks reader, so don’t let the power of Unix go to waste. Once you take a few steps into the Unix world, you’ll never look back.

Hack 27. Harmless Unix Tricks

Unix is the core of OS X, but to get at it you need the command-line interface, which terrifies a lot of people. This hack demystifies the command line by showing you the fun that’s baked in!

Unix was originally intended to be used from a text-only terminal console, and many of its features are still accessed via typed commands. These days, OS X users never have to use the command line to get everyday work done. (In early versions of OS X, firing up the command line was sometimes required to empty Trash!) So why would anyone want to bother with something as arcane as the command line?

For hardcore hackers, the answer is obvious: to harness the power of OS X’s underlying system. But the command line isn’t just for the geekiest among us; it’s a useful tool for everyone. Not only can otherwise unchangeable parts of OS X be modified via the command line, but in certain situations, the command line actually works better than the graphical user interface.

The easiest way to get to the command line is via an application called Terminal (you can find it in your Mac’s Utilities folder). When you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mac OS X Hacks

Mac OS X Hacks

Kevin Hemenway, Rael Dornfest

Publisher Resources

ISBN: 9781449343453Errata Page