You are previewing Take Control of the Mac Command Line with Terminal.
O'Reilly logo
Take Control of the Mac Command Line with Terminal

Book Description

Release your inner geek and learn to harness the power of the Unix underpinnings to Mac OS X! This 111-page ebook from Joe Kissell explains everything you need to know to become comfortable working on the command line in Terminal, and provides numerous "recipes" for performing useful tasks that can be tricky in a graphical interface.

Table of Contents

  1. Read Me First
    1. Updates and More
    2. Basics
    3. What’s New in Version 1.1
    4. What Was New in Version 1.0.2
  2. Introduction
  3. Mac OS X Command Line Quick Start
  4. Understand Basic Command-Line Concepts
    1. What’s Unix?
    2. What’s a Command Line?
    3. What’s a Shell?
    4. What’s Terminal?
    5. What Are Commands, Arguments, and Flags?
  5. Get to Know (and Customize) Terminal
    1. Learn the Basics of Terminal
    2. Modify the Window
    3. Open Multiple Sessions
    4. Change the Window’s Attributes
    5. Set a Default Shell
  6. Look Around
    1. Discover Where You Are
    2. See What’s Here
    3. Repeat a Command
    4. Cancel a Command
    5. Move into Another Directory
    6. Jump Home
    7. Understand How Paths Work
    8. Understand Mac OS X’s File System
    9. Use Tab Completion
    10. Find a File
    11. View a Text File
    12. Get Help
    13. Clear the Screen
    14. End a Shell Session
  7. Work with Files and Directories
    1. Create a File
    2. Create a Directory
    3. Copy a File or Directory
    4. Move or Rename a File or Directory
    5. Delete a File
    6. Delete a Directory
  8. Work with Programs
    1. Learn Command-Line Program Basics
    2. Run a Program or Script
    3. Run a Program in the Background
    4. See What Programs Are Running
    5. Stop a Program
    6. Edit a Text File
    7. Create Your Own Shell Script
  9. Customize Your Profile
    1. How Profiles Work
    2. Edit .bash_profile
    3. Create Aliases
    4. Modify Your PATH
    5. Change Your Prompt
  10. Bring the Command Line into the Real World
    1. Get the Path of a File or Folder
    2. Open the Current Directory in the Finder
    3. Open a Hidden Directory Without Using Terminal
    4. Open the Current Folder in Terminal
    5. Open a Mac OS X Application
    6. Open a File in Mac OS X
  11. Log In to Another Computer
    1. Start an SSH Session
    2. Run Commands on Another Computer
    3. End an SSH Session
  12. Venture a Little Deeper
    1. Understand Permission Basics
    2. Change an Item’s Permissions
    3. Change an Item’s Owner or Group
    4. Perform Actions as the Root User
  13. Command-Line Recipes
    1. Change Defaults
    2. Perform Administrative Actions
    3. Modify Files
    4. Work with Information on the Web
    5. Manage Network Activities
    6. Work with Remote Macs
    7. Troubleshoot and Repair Problems
    8. Get Help in Style
    9. Do Other Random Tricks
  14. About This Book
    1. Ebook Extras
    2. About the Author
    3. Author’s Acknowledgments
    4. Shameless Plug
    5. About the Publisher
  15. Copyright and Fine Print
  16. Featured Titles