Linux programming-11. ShellScript (bash) -- (1) Introduction
Source: Internet
Author: User
Article title: Linux programming-11. ShellScript (bash) -- (1) Introduction. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
It is well known that UNIX is named by gadgets and uses many simple gadgets to complete the work that originally required a lot of software development. This feature makes UNIX an ideal system platform for many people.
Among the many gadgets, Shell Script is the most basic, powerful, and widely used one. It is widely used and can be used not only for system startup, program compilation, regular jobs, Internet connections, but even for installing the entire Linux system.
Because Shell scripts combine the commands you use on a regular basis to form a "program ". If you frequently run commands of certain sequences on weekdays, you can combine these commands to become another new command. In this way, not only can the operation be simplified and accelerated, but also can be executed automatically and periodically, greatly simplifying system management.
Bash (GNU Bourne-Again SHell) is the internal Shell of many Linux platforms. In fact, there are many shells used in traditional UNIX, such as tcsh, csh, ash, bsh, and ksh, shell scripts are roughly the same. when you learn a Shell, other shells will be used quickly. In most cases, a Shell Script can be used in many Shell types.
Here I will introduce how to use bash. In fact, when you "man bash", you can see the bash statement, but for many people, this statement is as hard as a "Wordless Book. The main source of this document is man bash. I will add some practical examples to illustrate it. It is hoped that this will allow those who have never followed the door to get in, more or less a concept.
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