Read about string functions in shell script, The latest news, videos, and discussion topics about string functions in shell script from alibabacloud.com
What is 20.1 shell?
The shell is the intermediate medium used when the system interacts with the computer hardware, and it is just a tool of the system.
In fact, he has a layer of things between the shell and the computer hardware-the
I. PrefaceShell programming is widely used in the Unix/linux world, and mastering shell programming is a must for a good unix/linux developer and system administrator. The main task of script debugging is to find out the cause of the script error
Transferred from: http://itlab.idcquan.com/linux/SHELL/727128.htmlThis paper introduces the shell script debugging technology comprehensively and systematically, including using echo, tee, trap and other commands to output key information, tracking
I. Preface
Shell programming is widely used in the Unix/linux world, and mastering shell programming is a must for a good unix/linux developer and system administrator. The main task of script debugging is to find out the cause of the script error
Shell is like the editor: everyone has their own choice and tries to defend the choice and tell you why it should be used ). Indeed, shell provides different functions, but they all implement the core concept of development decades ago.
I used
- 20.1 shell script describes the- 20.2 shell script structure and executes- 20.3 date command usage- 20.4 shell the variables in the script # 20.1 shell Script Introduction- shell is a scripting language attention
Original URL: http://zhu8337797.blog.163.com/blog/static/170617549201122512712136/
Command
Options
function
BASH–X Pin Name
Echo Echo
Displays each row of the script after the variable is replaced
I. Basic Shell syntax1. VariablesBy convention, Shell variables are composed of uppercase letters and underscores (_). There are two types of Shell variables:Environment VariableEnvironment variables can be transmitted from the parent process to the
[This is my own study notes, welcome reprint, but please specify the source:http://blog.csdn.net/jesson20121020]
Take a look at some of the variables in the shell today.
Variable Type:There are several variables in the shell:1) Local
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.