What is a shell?

Source: Internet
Author: User
After the user logs on to Linux, a system prompt symbol appears, which allows you to enter a lot of commands after the symbol and get the desired effect, who is behind the scenes who is helping us with this whole pile of things? is the shell, and when the user logs in, it actually goes into a program called the shell.   The shell acts as a translator, translating each command entered by the user into instructions that the Linux system can recognize. Interactive mode – when the shell receives a user input command, it starts executing the command and displays the results to the screen, and the shell displays the system prompt after the end, waiting for the user to enter the next command.   run in the background – the symbol for running in the background is "&", with the "&" symbol appended to the command, you can put the program in the background to run. – How does a program that executes in the background make it back to the foreground to run?  Executes the FG command.  – The program is already running in the foreground and can be placed in the background with CTRL + Z.   – if more than one process is running in the background, execute the jobs command to list all the processes that are executing in the background, the number in brackets ([]) is the name of jobs, and the specified background process can be resumed by FG%number. input and output redirection – Redirect standard input output through the redirect > "<". Pipe – by pipe symbol "|" Completes the sequential processing of a series of commands. Wildcard Character – The function of wildcards is to use wildcard characters to blur one or more character environment variables when processing a file –shell is a huge program, in order to make the working environment conform to the user's custom or application needs, you can let the user set the shell environment. shell Script –shell The most important and most responsible is the shell script. In addition to explaining commands, the shell has an important function of programming language, which can be programmed by the shell script process to accomplish more complex functions.

What is a shell?

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.