Unlock the secrets of the Mac Terminal, and discover how this powerful tool solves problems the Finder can’t handle. With this handy guide, you’ll learn commands for a variety of tasks, such as killing programs that refuse to quit, renaming large batches of files in seconds, and running jobs in the background while you do other work.
Get started with an easy-to-understand overview of the Terminal and its partner, the shell. Then dive into commands neatly arranged into two dozen categories, such as directory operations, file comparisons, and network connections. Each command includes a concise description of its purpose and features.
- Log into your Mac from remote locations
- Search and modify files in powerful ways
- Schedule jobs for particular days and times
- Let several people use one Mac at the same time
- Compress and uncompress files in a variety of formats
- View and manipulate Mac OS X processes
- Combine multiple commands to perform complex operations
- Download and install additional commands from the Internet
What’s in the book?
Chapter 1: The Macintosh Terminal
- What’s in This Book?
- Running the Terminal
- The Filesystem
- The Shell
Chapter 2: Commands
- Basic File Operations
- Directory Operations
- File Viewing
- File Creation and Editing
- File Properties
- File Text Manipulation
- File Location
- File Compression and Packaging
- File Comparison
- Printing
- Disks and Filesystems
- Viewing Processes
- Controlling Processes
- Scheduling Jobs
- Users and Their Environment
- Becoming the Superuser
- Group Management
- Host Information
- Host Location
- Network Connections
- Email Commands
- Web Commands
- Messaging
- Screen Output
- Math and Calculations
- Dates and Times
Chapter 3: Advanced Topics
- Running a Shell Remotely
- Installing Software with a Package Manager
- Programming with Shell Scripts
- Getting Help