[Next] [Previous] [Up] [Top] [Contents] [Index]

Chapter 4: Shells

4.2 Features of Available Shells

This section is excerpted from Shell Choice, A shell comparison (dated September 28, 1994) by Arnaud Taddei of CERN. His eleven-page document contains a brief description of the six major shells and provides an excellent comparison of features between the shells. It is available on the Web at http://consult.cern.ch/writeup/shellchoice.

Of the six major shells, four are in the Bourne family: sh, ksh, bash, and zsh; and two are in the Berkeley/C family: csh, tsch.

The most up-to-date shells are tcsh (Berkeley/C), and bash and zsh (Bourne). These are also the three shells that are public domain (as opposed to vendor-supported). The public domain shells are the same on all platforms, which is not true of vendor shells. This is desirable when attempting to homogenize user environments. Note that zsh is not supported at Fermilab.

Some of the common features of these newer shells are:

The tcsh is essentially an enhanced csh. Some additional features of the tcsh are:

The following table should give you an idea of the virtues of each of the shells supported at Fermilab. It is adapted from one in Taddei's document referenced above. More complete feature lists for all the shells can be found there.

++

good

+

existing

-

weak

--

absent

Criteria

sh

ksh

bash

csh

tcsh

Configurability

-

+

++

+

++

Execution of commands

+

+

+

+

++

Completion

--

+

++

+

++

Line editing

-

+

++

-

++

Name substitution

+

+

++

+

++

History

--

+

++

+

++

Redirections and pipes

+

+

+

+

+

Spelling correction

--

--

--

--

+

Prompt settings

+

+

+

+

++

Job control

--

+

+

+

+

Execution control

+

+

+

+

+

Signal handling

+

+

+

-

-


[12] This feature allows you to uniquely specify a file without typing in its whole name.

UNIX at Fermilab - 10 Apr 1998

[Next] [Previous] [Up] [Top] [Contents] [Index]