Learn about the--bash Shell summary of Linux with the bird brother

Source: Internet
Author: User

Bash is a Linux-based shell, and many of the commands described in the front are handled by Bash's environment. Here's a general-to-local understanding of bash. For bash I've roughly divided it into three parts: variables, the configuration of the operating environment, and the output of commands. The summary of Bash does the following mind mapping:

Variable

The variables are described in three ways: the type of the variable, the operation of the variable, and the contents of the variable. 1, for the type has environment variables and special variables, there is a more prominent is the array variable, which learned the array of declarations, references, subscript view and the number of elements to view and so on. 2, for the operation of the variable has to view, declare, cancel and read the operation, where the declaration of variables have local and environment variables two, the more special is read the operation, reading a variable from the keyboard value, is a very useful operation. There are two types of actions for variable content: Delete and replace.

Bash plays a big role in the configuration of the operating environment, which is generally divided into the configuration of the bash environment, the configuration of the terminal environment, and some commonly used symbols. It is necessary to note that the wildcard character in the symbol is a common thing.

For the output operation of the command, there are two modes of operation, that is, the data flow orientation is to import or output the data, in which multiple command union symbols are required if multi-command joint action is required. Pipe division in order to select, sort, convert and cut four ways to operate these operations can sometimes play a role in later file operations.

In general, these commands are not very skilled at this stage, just do a certain understanding, in the virtual machine to do some simple operation, because there is no real to make a thing, at this stage just out of the initial understanding of the stage, but also need more practice, so that the command between the mastery, In order to form their own use of command habits and characteristics, because some of the commands are less commonly used, and some commands are commonly used, this time the practice becomes more important. At the same time there are individual commands and modes of operation that are not added, and the bash shell functions and is powerful, a basic understanding of these knowledge. At the same time in the subsequent study also need to be part of the knowledge points for further in-depth analysis and explanation.

Learn about the--bash Shell summary of Linux with the bird brother

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.