Recently, I have come into contact with a wonderful interface, based on the boss constantly urging a rush of time, in the rewriting of the Java interface and the reuse of the existing Python script two paths to choose the latter, but in fact 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
Learn more about Linux Shell Scripting Basics (v) Linux Shell Script Foundation before we introduce the control flow of the Linux shell script, there is still a part of it that doesn't say anything about here document continues here.The Linux Shell
The command line has a fairly high reputation for Linux users. Unlike other operating systems, the command line is a scary proposition, but for the experienced Daniel in the Linux community, the command line is the most recommended and encouraged to
Determine if the contents of a file are not empty, use the statement:
If test-z ' cat filename '
When the filename is empty or there is only one line of strings without spaces, all normal, on the contrary, will report: Too many arguments, or even:
1. Linux Scripting Basics
1.1 Basic Introduction to grammar
1.1.1 Start
The program must start with the following line (must be on the first line of the file):
#!/bin/sh
The symbolic #! is used to tell the system that the parameters behind it
How to make FTP settings under Linux
How ECS Linux servers configure Web sites and bind domain names
Ubuntu installation Vncserver to achieve graphical access
Aliyun Docker Mirror Library
Add FTP users to ECS Linux and set appropriate
Linux Shell Scripting Basics Here we first talk about the shell's grammatical basis, beginning, annotation, variables and environment variables, to do a basic introduction, although not involved in specific things, but lay a good foundation for
Linux Shell script
1. Linux script compiling Basics1.1 Basic syntax IntroductionStart with 1.1.1 Program The following line must start (the first line of the file must start ):#! /Bin/shSymbol #! The parameter used to tell the system that
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.