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
A Shell script Introduction and First specification shell Script Description 1.1 Shell script Introduction What is 1.1.1 shell?The shell is a command interpreter which is responsible for directly working with the user in the outermost layer of the
1. What is a shell script?It is a scripting language, not a programming language.You can use some logical judgments, loops, and other syntax.You can customize the sub-function, which is a collection of system commands.Shell scripts enable automated
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
Common shell: -------------- from "laruence's Linux private dish"
In the early UNIX era, there were many developers, so shell had many versions based on the developer's differences, such
Frequently heard Bourne shell (SH ),C shell,Commonly used
There are several ways to execute a shell script
1, relative path mode, need to first CD to script path
Copy Code code as follows:
[Root@banking tmp]# Cd/tmp
[Root@banking tmp]#./ceshi.sh
Script execution succeeded
2.
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.