Linux Shells

Shell is a utility which can be used to execute programs and interact with operating system. You can think of shell as the bridge between users and Operating system.

You can interact with operating system by 2 kinds of shells.

  1. Command line shell – bash, zsh, C-shell etc
  2. Graphical shell – GNOME, KDE etc

In linux, Command line shells can be further divided into 2 main categories.

  1. Bourne shell – sh, bash(default shell program), ksh, zsh, ksh
  2. C shell – csh

Command line shells run inside the program called as terminal.

You can use below command to see which shells are installed on your system.
cat /etc/shells

You can use below command to see your shell type.
echo $SHELL

You may also like...