All about Linux shell – TecAdmin https://tecadmin.net How to guide for System Administrator's and Developers Wed, 13 Mar 2013 08:07:37 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 All about Linux shell https://tecadmin.net/all-about-linux-shell/ https://tecadmin.net/all-about-linux-shell/#respond Wed, 13 Mar 2013 08:07:37 +0000 https://tecadmin.net/?p=472 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 ( [...]

The post All about Linux shell appeared first on TecAdmin.

]]>
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
    

    The post All about Linux shell appeared first on TecAdmin.

    ]]>
    https://tecadmin.net/all-about-linux-shell/feed/ 0