Definition and role of the shell
As we mentioned above the shell is a program that interprets and executes the commands you enter in the terminal. It acts as an intermediary between the user and the operating system.
While the terminal provides the environment to enter commands, the shell interprets these commands and communicates with the computer’s operating system to perform them.
Types of shells
There are several types of shells, but the most common in Unix-like systems (This is us!) is the Bash shell. Others include Tcsh, Zsh, and Ksh. Each shell may have different features and syntax, but the basic principles of operation are similar.
Quiz Question
Hint: Think about what happens when you type commands into the terminal. What system component processes and executes those commands?
The correct answer is B) To interpret and execute commands entered by the user.
Quiz Question
Hint: Consider the dominant shell environment in Unix-like systems, often referred to by its acronym.
The correct answer is B) Bash Shell.