O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required