Shells
Shells
What is shell?
A shell is an environment in which we can run our commands, programs, and shell scripts. There are different types of shells, just as there are different kinds of operating systems. Each shell has its own set of recognized commands and functions.
It gathers input from you and executes programs based on that input.
When a program finishes executing, it displays that program's output.
Types of Shells
There are several different shells available for Unix. One can use any of these shells if they are available on the system. And also can switch between the different shells if they are available. The most popular shells are: Bourne shell (sh) C shell (csh) TC shell (tcsh) Korn shell (ksh) Bourne Again Shell (bash)
C shell (csh)
TC shell (tcsh)
The t is tcsh comes from the T in TENEX, an operating system. Tcsh is a Unix shell compatible with the C shell (csh). It is essentially the C shell with programmable command line completion, command-line editing, and a few other features.
It provides all the features of the C and TC shells together with a shell programming language similar to that of the original Bourne shell. It is the most efficient shell.
Summary