What is a Linux Shell?
A “Linux Shell” is an application running on top of the Linux kernel and provides a command line interface to the system. The Linux Shell processes user’s commands, gathers input from user and executes programs.
Types of Linux Shell include:
- “sh” – the original Bourne shell.
- “ksh” – one of the three: Public domain ksh (pdksh), AT&T ksh or mksh
- “bash” – the GNU Bourne-again shell. It is mostly Bourne-compatible, mostly POSIX-compatible, and has other useful extensions. It is the default on most Linux systems.
- “csh” – BSD introduced the C shell, which sometimes resembles slightly the C programming language.
- “tcsh” – csh with more features. csh and tcsh shells are NOT Bourne compatible.
For a full list of all the shells available on your Linux server, you can run the command below:
# cat /etc/shells