MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: saurabhj on July 17, 2015, 05:36:09 PM

Title: What are diffrent types of shell available in linux ?
Post by: saurabhj on July 17, 2015, 05:36:09 PM
Different types of shell

A number of different shells have been developed for Unix-Like Operating System; the most popular are described here.

[1]  Bourne Shell(sh):-
        Original Shell of Unix.
        Written by Stephen Bourne at Bell Labs in 1974.
        Lacked interactivity provided by most modern shells.

[2]  C Shell(csh) :-
        provides a C-like language to write shell scripts

[3]  Korn Shell :-
        created by David korn
        Has features of C and Bourne shell along with some additional features.

[4]  TC shell (tcsh) :-
        Default shell of FreeBSD and its descendants.
        Available in the public domain.

[5]  Bourne-again shell (BASH) :-
        Default shell of Linux Operating System.
        Developed by GNU project
        It is based on Bourne shell and has features of Bourne and C shell as well

How to check Shell's available in your system ?
Quote   :   cat /etc/shells

To find your current shell type following command
Quote   :   echo $SHELL