Contents
The shell is the Linux command line interpreter. It provides an interface between the user and the kernel and executes programs called commands. For example, if a user enters ls then the shell executes the ls command.
How does Linux shell work?
Whenever you login to a Unix system you are placed in a program called the shell. All of your work is done within the shell. The shell is your interface to the operating system. It acts as a command interpreter; it takes each command and passes it to the operating system.
What is shell in Linux and its types?
5. The Z Shell (zsh)
| Shell | Complete path-name | Prompt for non root user |
|---|---|---|
| Bourne shell (sh) | /bin/sh and /sbin/sh | $ |
| GNU Bourne-Again shell (bash) | /bin/bash | bash-VersionNumber$ |
| C shell (csh) | /bin/csh | % |
| Korn shell (ksh) | /bin/ksh | $ |