What is the use of shell in linux

WBOY
WBOYOriginal
2022-05-23 18:24:056605browse

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.

What is the use of shell in linux

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

What is the use of shell in linux

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.

What is the use of shell in linux

#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!

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