In Linux, the default shell means the default shell; the shell refers to a user-oriented command interface, which is expressed as an interface that can be entered by the user. This interface can feed back running information. The default The shell is the default shell. When you create an account, the system will assign you a shell by default. It is bash under Linux and csh under BSD. This is the default shell.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
The shell in Linux refers to a user-oriented command interface, which is expressed in an interface that can be entered by the user. This interface can also provide feedback. Running information;
The default shell is the default shell. When you create an account, the system will assign you a shell by default. It is bash under Linux and csh under BSD. This is The default shell, of course, you can modify it yourself; check the shell installed on your system $ls -l /bin/*sh to modify the shell: $chsh shell or modify the last item of /etc/passwd
Expand knowledge
The meaning of shell:
First of all, the English meaning of shell is "shell";
It is relative to the core, because it is a form of expression that is recommended for users based on the core. For example, when we see a ball, what we see is its shell, not the core.
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;
shell in Existence form in Linux:
Because Linux is different from Windows, Linux is separated from the kernel and the interface. It can run independently from the graphical interface, and can also run graphical programs based on the kernel. desktop.
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 MS running Windows on the desktop. -DOS running window, the former is usually referred to as the terminal, and the latter is generally directly called the shell
How does the shell execute the user's instructions?
There are two types of shells One way to execute instructions is for the user to write an sh script file in advance, containing a shell script, and then use a 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.
Recommended learning: Linux video tutorial
The above is the detailed content of What does linux default shell mean?. For more information, please follow other related articles on the PHP Chinese website!