Chapter 18. Using the Terminal
The Terminal application
(/Applications/Utilities) is your gateway
between the candy-coated Aqua graphical interface and the no-nonsense
command-line interface that Darwin uses. This book (as well as a lot
of Apple documentation) tends to use the terms command
line and Terminal interchangeably
because, with Mac OS X, to get to the former you must go through the
latter.
Using the Terminal
Each window in the Terminal represents a separate shell process—a command-line interpreter ready to accept your instructions, as described in Section 19.1 in Chapter 19.
Terminal Preferences
The Terminal application’s user settings control not just the application’s look and feel, but the ways you interact with your shells. This section covers the more important application preferences to know about.
Setting a default shell
There are two ways to set a
default shell when using your system,
which are suggested by the “When creating a new
Terminal window” radio buttons found in
Terminal’s Preferences window (Terminal→Preferences,
-,), seen in Figure 18-1.

Figure 18-1. The Terminal Preferences dialog
The lazier way involves activating the “Execute this command” button and typing a shell’s path into the neighboring text field. Henceforth, whenever you open a new Terminal window, ...
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