The bash and shell relationships of Linux

Source: Internet
Author: User

Shell Popular Understanding: Translate user-entered commands to the operating system.

The

Shell is an interactive command interpreter. The shell is independent of the operating system, which gives the user the flexibility to choose the right shell for them. The shell lets you type commands at the command line, which is interpreted by the shell and routed to the operating system (kernel) for execution. The
    Shell is a command processor-a program that reads in and interprets the commands you enter. In addition to being a command interrupt, the shell is a programming language. You can write programs that the shell can interpret (known as source programs), which can contain shell programming commands and so on. In addition to explaining commands, the shell has other tasks, which can also be configured and programmed.    
    Shell has its own language that allows users to write programs and run in a complex way. The Shell programming language has many common programming language features, such as looping and control structures. Users can generate shell programs that are as complex as other applications.
The following is a summary of the shell functionality:
Find the location of the command and execute the associated program,
assign a new value to the shell variable,
perform the command substitution,
handle I/O redirection and pipeline functionality,
provides an explanatory programming language interface, Includes statements such as tests, branches, and loops.

    bash is the abbreviation for borne again shell, which is a kind of shell, A bash is used by default on Linux.
    When you enter a bash command on the command line, it's the equivalent of going into a bash environment, and if it's a bash environment, it's going into a child bash environment (equivalent to having a subprocess).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.