Home>Article>Operation and Maintenance> What is the default shell of linux
The shell in Linux refers to a user-oriented command interface, which is expressed as an interface that can be entered by the user. This interface can also feed back running information; the default shell under Linux It's the Bourne Again shell (bash).
The existence form of shell in Linux:
Because Linux is different from Windows, Linux is separated from the kernel and the interface, and it can be separated from the graphical interface. Running, you can also run a graphical desktop based on the kernel.
In this way, in the Linux system, there are two forms of shell expression, one is the shell in the terminal operating environment without a graphical interface, and the other is the Windows-like MS running on the desktop. -DOS running window, the former is usually referred to as the terminal, and the latter is generally directly referred to as the shell
How shell executes user instructions
shell There are two ways to execute instructions. The first method is for the user to write an sh script file in advance, containing a shell script, and then use the shell program to execute the script. This method is commonly called shell programming.
The second form is that the user directly executes the shell command on the shell interface. Due to the shell interface, everyone is accustomed to writing line by line, and rarely writes a complete set of programs to execute together, so it is also Called the command line.
Summary: The shell can be said to be just a bridge between the user and the machine, allowing us to operate and interact with the computer through the shell, so as to achieve the purpose of letting the computer serve us.
The above is the detailed content of What is the default shell of linux. For more information, please follow other related articles on the PHP Chinese website!