First, the meaning of the ADBthe full English name of ADB is Android Debug Bridge, which is Android debugging bridges; theadb executable is stored in the Android SDK, so you will need to download and install the Android SDK tool with the ADB command,
File Comparison characters-e filename true if filename exists [-e/var/log/syslog]-D filename True if filename is a directory [-d/tmp/mydir]-F filename True if filename is a regular file [-f/usr/bin/grep]-L filename True if filename is a symbolic
In addition to being an interpreter, the shell is a high-level programming language with variables, keywords, and a variety of control statements.Command historyHistory displays a list of historical commands, including its ownHistory 50 shows the
After MySQL installation on Linux uninstall is not clean, ping server ping does not pass the ICMP protocol is closed, Ping is using the ICMP protocol. Export is a global variable that all users can log in to use.Introduction to 1.iptables firewall
This is I learn to make notes or to make notes on their own easy to remember the format is very important examples are reference I also made the color on the impression notes to distinguish it on the top of it.
read for interactive scenarios
How do you implement a shell-like command to assign a value to a variable under bat?At first, it was really hard for me. With the familiarity of bat batch knowledge deepened.Learning to!!!Give me a chestnut:Svnlook UUID C:\Repository\test # What do
In the use of Linux system, we often need to perform some operational analysis of the file, such as sorting the text, to remove weight, to intercept some of the rules of the field. Cut,sort,uniq is easy to use.1.sort: Generally there are three modes,
8.10 Shell Special Symbol Cut command
: Represents any arbitrary character? : Represents any single character#: Denotes comment characters\ denotes a de-semantic character| Represents a pipe characterThe Cut command is used to intercept a
Locate command1.locate filenameFuzzy match as long as the file name contains the keyword can beNon-real-time lookup, faster than find.Rely on index database/var/lib/mlocate/mlocate.dbAutomatically run once a day to update the database.UpdateDB
In the shell script, the variable definition, the reference each has the different way, in addition, very commonly has the file attribute judgment, the logical operation, the numerical operation and so on, the following record their attribute
1. Exit status of the command (1), (Kw:exit status)Each command has an exit state, represented by a non-negative integerStatus code 0 indicates that the command is running without errorsNon-0 Status code indicates a command errorThe range of status
An environment variable 1 overviewThe bash shell uses a feature called environment variables to store information about the shell session and the work environment, which also allows false data to be stored in memory so that the shell can run
10.1 Commond: Suppress normal shell function lookups
10.2 exec: Replacing the current shell process with the Execute command
10.3 Bash:gnu's Bourne-again shell interpreter
10.4 Builtin: Execute shell built-in command
10.5 Enable:
Preface: Before we get to the point, let's review the conditional tests on scriptingOne, Process Control
Over-programming languagesA. Sequential executionB. Select executionC. Cyclic execution
Sequential executionAs the name implies, it is
What is direct assignment?1. The way the author directly assigns parameter values is called direct assignment.2. In general, an indirect assignment is assigned by an interactive method.Example 1:varl=arppinging.comThis is a direct assignment that is
Write a simple alarm system with the shell
Create a directory structure
mkdir -p /usr/local/sbin/mon/{bin,conf,shares,mail,log}mon //主目录bin //主程序目录shares //子程序目录mail //发邮件目录log //日志目录Program Main entry
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