1. Display all Android platforms in the system:
Android list targets
2. Display all AVD (simulators) in the system:
Android List AvD
3. Create AVD (Simulator):
Android Create AVD--name name--target platform number
4. Start
Scripting Tips
Script file name naming rules
The characters for the file name include
Letters, Numbers, ".", "_" and "-", note: The script's filename cannot begin with a number.
Name the name of the script file, use English words, phrases,
The DB2 tutorial you are looking at is: Use shell extraction to update DB2 data. The shell processing DB2 database, which is written for work needs, extracts DB2 data from the shell and processes it.
#SQL文定义
Sql= "SELECT AAA, BBB, CCC from MYTBL1"
1. Example: Insert a record every 100 rows, and the first column of this record contains the line number, and the other columns are the same as the first row
#!/bin/sh
var= "00001" # variable
cat A.txt|awk ' nr==1 ' |while read Line # Get the
Formal representations (or regular representations) are arranged by special characters to search for/replace/delete one or more columns of text strings, and, simply put, formal notation is an "expression" used above the processing of strings. Formal
Objectivea problem has been encountered at work today, if you copy the files from directory A to directory B (without the file in directory B) and keep the files in directory A. The focus of the project is as follows:
You need to keep the structure
I looked at the/proc/net/dev under Linux to record the number of packets and bytes sent and received by each network card. So initiation thought, wrote one. Operation Effect:
Copy Code code as follows:
[root@74-82-173-217
first, talk about the limitations of the Shell scripting language itself
As an interpretative scripting language, it is inherently inefficient. Although the other commands it invokes may be good in efficiency.
The execution of the shell script is
1, login to the host and enter ssh-keygen-t RSA
Prompt for enter file in which to save the key (/ROOT/.SSH/ID_RSA):
Input/root/.ssh/sea_rsa
Enter the relevant pathname and filename as prompted and generate two files (followed by two options to
1. Send mail in command line mode
1.1 Installation SendEmail
2.2 Using SendEmail and examples
2. Command line mode of receiving mail
2.1 Installation Getmail4
2.2 Configuration Getmail4 and simple examples
2.3 Using Munpack to extract attachments
A case of a batch conversion directory of File encoded shell script code.
Requirements Description:As a result of turning Linux from Windows, many original win under the GBK file needs to be converted into UTF8.
The following script only judges
When writing programs, we often use timers. First look at the Select function prototype as follows:
Copy Code code as follows:
int select (int Nfds, fd_set *readfds, Fd_set *writefds,
Fd_set *exceptfds, struct timeval *timeout);
Ord functions are not provided directly in awk, so when you convert a character to a code, you need to implement it yourself
Copy Code code as follows:
awk ' begin{for (i = 0; i
This mainly constructs the data structure of
Each language has his own string manipulation method, the shell is the same, the following in an example of the way, a simple introduction of common methods.
1, get string length
Copy Code code as follows:
Like other programming languages, the shell supports A for loop.
For loops The general format is:
Copy Code code as follows:
For variable name in list
Todo
Command1
Command2
...
CommandN
Done
When the value of
1.Linux users are divided into ordinary user accounts and Superuser user accounts.
The 2.Linux group accounts are divided into private groups and standard groups. When you create a new user, but do not specify the group to which he belongs,
Because Nginx is a high-performance http and reverse proxy server. Nginx has a strong advantage in reverse proxy, rewrite rules, stability, static file processing, memory consumption and so on. Therefore, most of the Web services on the company's
First, the environment ubuntu14.04 x86_64Second, string manipulation 1. get the string length Strlen () similar to the C language${#variable_name} Eg:$name =zhangsan$echo ${#name}8$2. String ExtractionSimilar to substring () in Java${variable_name:
Adding shell scripts under Linux allows nginx logs to be cut and compressed every dayA Brief introductionFor nginx log files, especially the access log, if we do not do any processing, the final file will become very largeAt this point, it can be
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