Book description
Mac OS X is a marvelous confluence of the user-friendly and highly customizable Macintosh of yesteryear and the power and flexibility of Unix under the hood. Those coming to Mac OS X from previous incarnations of the operating system recognize much of the friendly face of the Macintosh but they are also plunged into a whole new world. Unix converts to Mac OS X find a familiar FreeBSD-like operating system at the core and many of the command-line applications that they're familiar with. This presents a unique opportunity for combining traditional Unix hacking and Mac OS know-how. Mac OS X Hacks goes beyond the peculiar mix of man pages and not-particularly-helpful Help Center, pulling the best tips, tricks, and tools from the Mac power users and Unix hackers themselves. The collection reflects the real-world know how and experience of those well steeped in Unix history and expertise, sharing their no-nonsense, sometimes quick-and-dirty solutions to administering and taking full advantage of everything a Unix desktop has to offer: Web, Mail, and FTP serving, security services, SSH, Perl and shell scripting, compiling, configuring, scheduling, networking, and hacking. Add to that the experience of die-hard Macintosh users, customizing and modifying their hardware and software to meet their needs: System Preferences, GUI mods and tweaks, hardware tips, vital shareware and freeware, AppleScript, AppleTalk and equivalents, keyboard modifiers, and general Macintosh-style tomfoolery. Each Hack can be read easily in a few minutes, saving countless hours of searching for the right answer. Mac OS X Hacks provides direct, hands-on solutions that can be applied to the challenges facing both those meeting the Mac for the first time and long-time users delving into Mac OS X and its Unix underpinnings. Mac OS X Hacks is the third in O'Reilly's new Hacks Serier which aims to begin reclaiming the term "hacking" for the good guys. In recent years, the term has come to be associated with those nefarious black hats who break into computers to snoop, steal information or disrupt Internet traffic. But the term originally had a more benign meaning, and you'll still hear it used this way whenever developers get together. Our new Hacks books are written in the spirit of the true hackers -- the people who drive innovation.
Table of contents
-
Mac OS X Hacks
- Credits
- Foreword
- Preface
-
1. Files
- Hacks #1-12
- Understanding and Hacking Your User Account
- Taking the Bite Out of Backup
- Backing Up on the Go
- Dealing with Archives of Many Colors: .img, .sit, .tar, .gz
- A Line Break Is a Line Break
- Fiddling with Type/Creator Codes and File Extensions
- Locking and Unlocking Files
- Stubborn Trash, Stuck Images, and Jammed CDs
- Aliases, Symlinks, and Hard Links
- Recent Filenames
- Inspecting the Contents of an .app Package
- Opening Microsoft Word Documents Without Microsoft Word
- 2. Startup
-
3. Multimedia and the iApps
- Hacks #18-32
- Top iChat Tips
- AIM Alternatives
- Printing to PDF or Bitmapped Image
- Image Conversion in a Pinch
- Top 10 iPhoto Tips
- Make Your Own Documentary
- From Slideshow to Video Presentation
- Hijacking Audio from Mac Apps
- Running Your Own Web Radio Station
- Sharing Your Listening Preferences
- Controlling iTunes with Perl
- iCal Calling iTunes
- Publishing and Subscribing to iCal Calendars
- Using Bluetooth for SMS and Phone-Call Handling
- iSync via Bluetooth
-
4. The User Interface
- Hacks #33-47
- Finding Your Way Back to the Desktop
- Alt-Tab Alt-Ternatives
- Putting Things in the Apple Menu
- Keeping Your Snippets Organized
- LaunchBar, a Dock Alternative
- DockSwap, Another Dock Alternative
- Tinkering with Your User Interface
- Extending Your Screen Real Estate with Virtual Desktops
- Top Screenshot Tips
- Checking Your Mac’s Pulse
- Screensaver as Desktop
- Dipping Your Pen into Inkwell
- Speakable Web Services
- Using AppleScript in Contextual Menus
- Prying the Chrome Off Cocoa Applications
-
5. Unix and the Terminal
- Hacks #48-65
-
Introducing the Terminal
- Launching the Terminal
- Current Working Directory
- List Files and Folders
- Clearing the Screen
- Changing Directories
- Moving On Up
- Creating Directories
- Removing Directories
- Copying Files
- Deleting Files
- Moving Files
- Viewing the Content of a Text File
- Copy and Paste, Drag and Drop
- Consulting the Manpages
- Getting Off the Command Line
- More Terminal Tricks and Tips
- Becoming an Administrator for a Moment
- Editing Special Unix Files
- Setting Shell Environment Variables
- Scheduling with System Tasks and Other Events
- Opening Things from the Command Line
- Introducing and Installing the Mac OS X Developer Tools
- Top 10 Mac OS X Tips for Unix Geeks
- Turning a Command-Line Script into an Application
- Installing Unix Applications with Fink
- Mirroring Files and Directories with rsync
- Using CVS to Manage Data on Multiple Machines
- Downloading Files from the Command Line
- Software Update on the Command Line
- Interacting with the Unix Shell from AppleScript
- Running AppleScripts on a Regular Basis Automatically
- Running Linux on an iBook
-
6. Networking
- Hacks #66-78
- Anatomy of an Internet Shortcut
- Renewing Your DHCP-Assigned IP address
- Sharing an Internet Connection
- Creating a One-Wire Network
- Secure Tunneling with VPN or SSH
- Remotely Log In to Another Machine via SSH
- Running Windows on and from a Mac
- Sharing Files Between Mac and Windows PCs
- Mounting a WebDAV Share
- Mounting a Remote FTP Directory
- Exchanging a File via Bluetooth
- Using Your Cell Phone as a Bluetooth Modem
- Setting Up Domain Name Service
-
7. Email
- Hacks #79-84
- Taming the Entourage Database
- Using IMAP with Apple’s Mail Application
- Setting Up IMAP and POP Mail Servers
-
Getting sendmail Up and Running
- Hacking the hostconfig File
- On Permissions and Blame
- Working with Configuration Files
- A Script to Simplify Your Life
- Back to DontBlameSendmail
- Telling sendmail Which Hostnames Are Valid
- Setting Up the LUSER_RELAY
- Allowing Relaying from Certain Hosts
- Our Helper Script Expanded
- Running Behind a Firewall
- Working with Lame ISPs
- Getting NetInfo Out of the Picture
- Downloading POP Mail with fetchmail
- Creating Mail Aliases
-
8. The Web
- Hacks #85-98
- Searching the Internet from Your Desktop
- Saving Web Pages for Offline Reading
- Reading Syndicated Online Content
- Serving Up a Web Site with the Built-In Apache Server
- Editing the Apache Web Server’s Configuration
- Build Your Own Apache Server with mod_perl
- AppleScript CGI with ACGI Dispatcher
- Turning on CGI
- Turning on PHP
- Turning on Server-Side Includes (SSI)
- Turning on WebDAV
- Controlling Web-Server Access by Hostname or IP Address
- Controlling Web-Server Access by Username and Group
- Directory Aliasing, Indexing, and Autoindexing
- 9. Databases
- Index
- Colophon
Product information
- Title: Mac OS X Hacks
- Author(s):
- Release date: March 2003
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596004606
You might also like
book
Apple Pro Training Series: AppleScript 1-2-3
We know what you’re thinking. You’ve heard about AppleScript. You’ve heard that it can do amazing …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
book
Pro Oracle Database 11g RAC on Linux
Pro Oracle Database 11g RAC on Linux provides full-life-cycle guidance on implementing Oracle Real Application Clusters …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …