In Linux, the shell is used to incorporate programming languages to control processes and files, as well as start and control other programs; the shell is used to reduce a large number of repeated inputs and interactive operations, and can perform batch processing and automated maintenance. , reducing the burden on management; the shell is a command interpreter for interaction between the user and the operating system.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
1. What is shell
Shell is the outermost layer of the operating system. It is a user and operating system. Interactive command interpreter.
The default shell command interpreter for most Linux is bash (/bin/bash)
The shell is independent of the kernel and is a bridge between the kernel and the application. Generally speaking, the shell is around the kernel. Shell
2. What is a shell script
A hell script is a file composed of shell commands. In other words, a shell script is a program written using the functions of the shell.
This program uses a plain text file to write some shell syntax and instructions in it, so that the user can easily operate it with one operation Execute multiple commands.
#3. The purpose of shell
Shell can incorporate programming languages to control processes and files, as well as start and control other programs
Shell can reduce a large number of repeated inputs and interactive operations, and can perform batch processing and automated maintenance, reducing the burden on management
Recommended learning: Linux video tutorial
The above is the detailed content of What is the use of shell in linux. For more information, please follow other related articles on the PHP Chinese website!