Chapter 2. Using the Terminal

With a typical Unix system, a staff person has to set up a Unix account for you before you can use it. With Mac OS X, however, the operating system installation automatically creates a default user account. The account is identified by your username, which is usually a single word or an abbreviation. Think of this account as your office—it’s your personal place in the Unix environment.

When you log into your Mac OS X system, you’re automatically logged into your Unix account as well. In fact, your Desktop and other customized features of your Mac OS X environment have corresponding features in the Unix environment. Your files and programs can be accessed either through the Mac Finder or through a variety of Unix command-line utilities that you can reach from within Mac OS X’s Terminal window.

Working with the Terminal

To get into the Unix environment, launch the Terminal application (go to Finder Applications Utilities Terminal). If you expect to use the Terminal a lot, drag the Terminal icon from the Finder window onto the Dock. You can then launch Terminal with a single click.) Once Terminal is running, you’ll see a window like the one in Figure 2-1.

The Terminal window

Figure 2-1. The Terminal window

Once you have a window open and you’re typing commands, it’s helpful to know that regular Mac OS X copy and paste commands work, so it’s simple to send an email message ...

Get Learning Unix for Mac OS X Panther 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.