Home  >  Article  >  Operation and Maintenance  >  What does shell mean in linux?

What does shell mean in linux?

WBOY
WBOYOriginal
2021-12-22 17:46:0618004browse

Shell in Linux means "shell". Shell is the user interface of the system. It provides an interface for users to interact with the kernel. It is an interpreter program between the Linux kernel and users. It is quite Based on the "shell" of the operating system, it receives commands entered by the user and sends them to the kernel for execution.

What does shell mean in linux?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What does shell mean in Linux

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. It is an interpreter program between the Linux kernel and users. Now Linux usually refers to the /bin/bash interpreter, which is responsible for translating and conveying user/program instructions to the kernel. The shell is equivalent to the "shell" of the operating system

【一】The meaning of shell:

First of all, the English meaning of shell is "shell";

It is relative to the kernel, because it is recommended to be used in the kernel On the basis of it, it is a form of expression for users. For example, when we see a ball, what we see is its shell, not its 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;

[II 】Existence form of shell in Linux:

Because Linux is different from Windows, Linux has a separation of the kernel and the interface. It can run independently from the graphical interface, and can also run on the basis of the kernel. Graphical 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 generally referred to as the terminal, and the latter is generally directly called the shell

[3] How the shell executes the user's instructions

shell There are two ways to execute instructions. One method 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.

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What does shell mean in linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn