This article covers the most popular shells among Linux users. In fact, Shell is an environment in which we can run our commands, programs, and shell scripts. There are different flavors of a shell, just as there are different flavors of operating systems. Each flavor of shell has its own set of recognized commands and functions. As Linux is flexible we can switch between shells easily without any additional configuration.
What is a Shell Prompt in Linux ?
The prompt, $, which is called the command prompt, is issued by the shell. While the prompt is displayed, you can type a command.
Shell reads your input after you press Enter. It determines the command you want executed by looking at the first word of your input. A word is an unbroken set of characters. Spaces and tabs separate words.
Following is a simple example of the date command, which displays the current date and time:
Thu Jun 25 08:30:19 MST 2021
Functions of Linux kernel:
- Controls all computer operations.
- Coordinates all executing utilities.
- Ensures that executing utilities do not interfere with each other or consume all system resources.
- Schedules and manages all system processes.