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
Cursor Movement Instructions? Corresponding Direction key movementH Move left one character K move up one line J Move down a line L move a character right? Move by line unit0 move to beginning $ move to end of lineNG moves to Nth line G to the last
Syntax for While loop:
While condition testDoCommand AreaDone
Example:#!/bin/bashdeclare-i i=1declare-i Sum=0while ((iUse while to read file contentsWhile loop, the classic usage is to go with the switch input, read the contents of the
Recently in the Zabbix, the company has six new servers. When the Zabbix client is deployed, the baby is really angry. Grandpa's always so repetitive work is also not AH. But as a war five slag, what else can be mixed with rice? Think of last year
Scripting features: For analyzing and summarizing a large number of ping log files------------------#!/bin/bash# check ping result# by colin# on 2016-06-08#################### ##################### function Description: This script is used to
The character color of terminal is controlled by escape sequence, it is the system display function in text mode, and the specific language is independent, Shell,python,perl and so on can be called.The escape sequence starts with the ESC and can do
1. #号截取, remove the left character and leave the right character. Code: Echo ${var#*//}where Var is the variable name, #是运算符, *//indicates that the first//and all characters on the left are deleted from the left. Example:650) this.width=650; "
Description of UseThe dirname command can take the directory portion of a given path (strip non-directory suffix from file name). This command is rarely used directly from the shell command line, and I typically use it in a shell script to get the
If the expression contains special characters, the Shell will replace it. For example, using a variable in double quotes is a substitution, and an escape character is also a substitution.As an example:#!/bin/basha=10Echo-e "The universe is $a \
1. Prepare my first shell scriptWhat is a shell script? I would simply say that the shell script is a special program in the Linux system, he works between the operating system kernel and the application, acting as a "command interpreter" role, is
1. single brackets [] ①bash's internal command, [and test is equivalent. If we don't specify the absolute path, we usually use Bash's own commands. The left bracket in the if/test structure is the command ID that calls test, and the right bracket
SHELL notes 1. View the size of a file or directory ls du2. View status Stat file name3, the system itself, usually uppercase4. System variables are viewed by set or declare instructions5. UDV variable (user defined variable)User creation and
This article is part of the Linux Shell Series Tutorial (vii), more shell tutorials See: Linux Shell Series Tutorials
As with other languages, there are output operations in the shell, and in practical applications it is also very important to
Scripts are best placed in/usr/local/sbin.the script executes the Sh-x script. Sh-x can view the execution process1 when using variables in a script, use the $ symbol:#!/bin/bash# #把命令赋值为变量, you need to use anti-quotesd= ' date + '%h:%m:%s 'echo
Reprint: Http://zhidao.baidu.com/link?url=th2hdLX2aijSiiOJJStShdBmfoxNQSTzKM12rFW6IqlL93uijQ7jMkK8V9fEFuuOp5Ni1VxKRapzFvCgCWozKaFile comparison Operators-e filename true if filename exists [-e/var/log/syslog]-D filename True if filename is a
Contains 3 types of data streams:• Standard input (stdin): code 0, Symbol or >>; standard error Output (STDERR): Code 2, Symbol 2> or 2>>. •>Default iscoverFile contents, if you want toAppendThen use>>Entering or outputting data from a specified
Today's mood is not very beautiful, play jokes may not be so much, or return to the point1. Specify the SSH port, user name, password-related configuration, I do not need to configure the key here what.2. Next time you create a task, SSH
The content of this section:The awk command implements the concatenation of stringsEnter the contents of the file:Tmall_inventory_30_group my163149.cm6 3506 5683506 mysql-bin. 000013327359057 tmall_inventory_31_group my163149.cm6
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
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.