0% found this document useful (0 votes)
20 views

Shells

The document discusses different types of shells available for Unix systems. It describes the original Bourne shell and mentions other popular shells like the C shell, TC shell, Korn shell, and Bourne Again shell. Each shell has its own set of commands and programming language, with the Bourne Again shell combining features from other shells.

Uploaded by

Varnita Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Shells

The document discusses different types of shells available for Unix systems. It describes the original Bourne shell and mentions other popular shells like the C shell, TC shell, Korn shell, and Bourne Again shell. Each shell has its own set of commands and programming language, with the Bourne Again shell combining features from other shells.

Uploaded by

Varnita Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Linux -the SHELL

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.

The shell provides you with an interface to the UNIX system.

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)

Bourne Shell (sh)


This is the original Unix shell written by Steve Bourne of Bell Labs.

It is available on all UNIX systems.


This shell does not have the interactive facilities provided by modern shells such as the C shell and Korn shell. The Bourne shell does provide an easy to use language with which one can write shell scripts.

C shell (csh)

This shell was written at the University of California, Berkeley.


It provides a C-like language with which to write shell scripts - hence its name.

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.

Korn shell (ksh)


This shell was written by David Korn of Bell labs. It is now provided as the standard shell on Unix systems.

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.

Bourne Again Shell (bash)


This is a public domain shell written by the Free Software Foundation under their GNU initiative. Bash provides all the interactive features of the C shell (csh) and the Korn shell (ksh).

Its programming language is compatible with the Bourne shell (sh).

Summary

You might also like