Google News
logo
Site Reliability Engineer (SRE) - Interview Questions
What do you know about Linux Shell? List Different types of Shell.
Linux Shell is an integral part of the Linux OS. The Linux OS is a free and open-source OS developed by Linus Torvalds. It is the most popular OS to run on servers and embedded devices. A Linux shell is a command line interface that allows the user to interact with the system. The command line interface (CLI) of Linux provides a text-based interface for executing commands, performing file management tasks, and issuing other system commands.

There are two types of shells in Linux :

* Interactive shell - It starts automatically when a user logs into their computer.

* Non-Interactive shell -  It can be started manually for the execution of any program.

These two types allow different users to have access to different sets of commands, depending on whether they are logged in or not. In most cases, non-interactive shells are used for administrative tasks such as managing user accounts and managing applications or services.

On a typical Linux system, the following shells are widely used :

* KSH (Korn Shell)
* ZSH
* TCSH
* CSH (C Shell)
* Bourne Shell
* BASH (Bourne Again Shell)
Advertisement