01) Installationsudo add-apt-repository ppa:nilarimogard/webupd8sudo apt-get updatesudo apt-get install android-tools-adb02) Environment variablesI. Introduction of TOOLSAndroid-sdk-linux_x86/tools has a bunch of tools to use today: Android Debug
From http://www.cnblogs.com/wang-li/p/5728461.htmlLinux ops shell script gadget, if you want to share this article, please indicate the source of the article, the following script is for reference only, if the error placed on the server, the
Let, (()) and [] perform basic operations in bash, and advanced operations will use expr and BCLet# Let Result=x+ySelf-adding operation# Let X + +Self-decrement operation# Let x--Shorthand form# Let X+=6---Let x=x+6#let x-=6--Let x=x-6[]# y=$[2 + 1]#
Simple comprehension: Use many tools to simplify complex steps in a shell scriptFrame: Must have notes, written by others can understandBeginning: #! The/bin/bash means that the file is using bash syntaxTo use this method to run a shell script, if
String test:= =: Test for equality, equality is true, not equal to False! =: Tests are not equal, unequal to true, equal to False>-N String: Tests whether the specified string is empty, empty is true, not empty is false-S string: Tests whether the
https://sourceforge.net/projects/opensourcefile/files/Nginx is a high-performance HTTP and reverse proxy server. Nginx in reverse proxy, rewrite rules, stability, static file processing, memory consumption and other aspects of the performance of a
File test:-e file: Test files exist-F File: Test files are normal files-D File: Tests whether the specified path is a path-R File: Tests whether the current user has read access to the specified file-W File: Tests whether the current user has write
/bin binary Executable command/sbin System Management commands, which are stored in the hypervisor used by the system administrator/usr/bin a multitude of applications/usr/sbin Some management programs for super users$city = $argv [1];$list = ['
I rookie a, first contact with the Linux shell script;Shell script, the simplest function is to write a lot of instructions together, so that users can easily be able to execute multiple commands, and shell script provides arrays, loops, conditions
One, parenthesis, round brackets () 1, single parenthesis () ① command group. The commands in parentheses will be executed in a new sub-shell sequence, so the variables in parentheses cannot be used by the rest of the script. Multiple commands in
Shell programming-------------------lt//less than -GT//greater than >=//equivalent-eq//equals=$#//extract number of parameters$//First parameter$n//extraction of nth parameters$//extract command$? //Store The result of the last execution command, 0
-shell online 30 min- û please copy the code below with the virtual machine liunx Under the main file named xxx.sh; terminal runs can simply enter ./xxx.sh to run but there can be problem resolution 1:vim yyy.sh
Calculate the sum of the 1~100 of the word:
Require the accumulation of numbers, you can use the loop to complete, the following code:#!/bin/bashsum=0str= "" #for i in {1..100}for ((i=1; iTo run the script:650) this.width=650; "src=" Http://s2.5
The shell supports only integer operations. Typically let, expr, declare, $[] are implemented.More accurate calculations suggest using the BC tools under Linux-a high-precision computing language.1. let is a shell built-in integer operation command#
The training reference for the basic linear table of data structure in small white book is taken from UVATopic Connection http://acm.hust.edu.cn/vjudge/problem/19299Virtual judge, you can go to register.Thinking of solving problemsTry to solve the
Shell Array(1) Defining an arrayIn the shell, the array is represented by parentheses, and the array elements are separated by spaces, defining the general form of the arrayArrt_name=(val1 val2 val3) or arry_name=(VAL1VAR2VAL3VAL4) or
Array, arraysVariable: Stores the memory space of a single element;Array: Memory space for storing multiple elements;Array name: The entire array has only one name;Array index: numbering starting from 0;Array name
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