The default shell used by Linux is bash. Shell is the user interface of the system, which provides an interface for users to interact with the kernel. The shell receives commands entered by the user and sends the commands to the kernel for execution.
What shell does Linux use by default?
The default Shell used by Linux system is bash.
Linux shell introduction:
Shell is the user interface of the system, providing an interface for users to interact with the kernel. It receives commands entered by the user and sends them to the kernel for execution.
In fact, Shell is a command interpreter that interprets commands entered by the user and sends them to the kernel. Not only that, Shell has its own programming language for editing commands, which allows users to write programs composed of shell commands. Shell programming language has many features of ordinary programming languages, such as loop structures and branch control structures. Shell programs written in this programming language have the same effect as other applications.
Linux provides a visual command input interface like Microsoft Windows - the graphical user interface (GUI) of X Window. It provides a lot of desktop environment systems, which operate just like Windows, with windows, icons and menus, and all management is controlled through the mouse. GNOME.
Each Linux system user can have his own user interface or Shell to meet their own specialized Shell needs.
Like Linux itself, there are many different versions of Shell.
There are mainly the following versions of Shell:
Bourne Shell: Developed by Bell Labs.
BASH: It is GNU's Bourne Again Shell and is the default shell on the GNU operating system.
Korn Shell: It is a development of Bourne SHell and is compatible with Bourne Shell in most aspects.
C Shell: It is the BSD version of SUN Company Shell.
Z Shell: The last shell you’ll ever need! Z is the last letter, which is the ultimate Shell. It integrates the important features of bash and ksh, while adding its own unique features.
Shell is the user interface of the system, providing an interface for users to interact with the kernel. It receives commands entered by the user and sends them to the kernel for execution. The default shell used by Linux systems is bash.
The above is the detailed content of What is the default shell used by linux?. For more information, please follow other related articles on the PHP Chinese website!