Shell Flavors

Many different Unix shells are available on Mac OS X Tiger. This book describes the bash shell. The Bourne-Again shell (bash), which is based on the Bourne shell (sh). bash is the most commonly used shell for many other Unix variants, including most Linux distributions and FreeBSD.

Most Unix systems have more than one shell, and it’s not uncommon to use one shell for writing scripts and another for interactive use. Other popular shells included with Mac OS X Tiger can be found in the /bin directory and are available to all users on the system.

You can change to another shell by typing the program name at the command line. For example, to change from bash to tcsh, type:

$ tcsh

To switch back to bash, just exit tcsh

$ exit   # or ^D

Get Mac OS X Tiger in a Nutshell 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.