A shell is a command line interpreter. Its a special program which takes input from standard input devices, convert it to machine language and send to OS. After processing by OS, send result back to shell. Shell again translate it to human readable format and send results to output devices.

Advertisement

Linux Shells:

  • Bash Shell ( Born Again Shell ) : This is most common shell used by linux now a days. Bash sell is developed by Sir Brian Fox and Chet Ramey.
  • CSH ( C Shell ) : The C shell’s syntax and usage are very similar to the C programming language.
  • KSH ( Korn Shell ): Developed in AT & T Bell Labs.
  • TCSH : TCSH is an enhanced but completely compatible version of the Berkeley UNIX C shell (CSH).
  • To Get all available shells in your linux machine check /etc/shells file.

    # cat /etc/shells
    /bin/sh
    /bin/bash
    /sbin/nologin
    /bin/tcsh
    /bin/csh
    /bin/ksh
    /usr/bin/ksh
    /bin/pdksh
    

    If you want to switch to another shell, Just type the shell path as shown above.

    # /bin/tcsh
    or
    # /usr/bin/ksh
    
    Share.
    Leave A Reply

    Exit mobile version