Skip to content

All about Linux shell

Advertisement

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.

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
    

    Rahul

    I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

    Leave a Reply

    Your email address will not be published. Required fields are marked *


    Back to top