#!/bin/Bashdatadir="/mydata/data"sqlconf=/etc/Mysqlinstalldir=/usr/local/mysql# about the installation package you can go to the official website to download, pay attention to download the common binary format, and then put on the FTP server can be #
ADB shell PS can be used to view memoryADB Shell PS | Find "Launcher"USER PID PPID vsize RSS Wchan PC NAMEapp_47 1274 1071 121628 30352 ffffffff afe0dc24 S com.motorola.launcherVsize is a virtual memoryRSS is physical memory.Android Medium " PS "The
1. Enter the console directoryCd/users/apple/documents/myarchitecture/cocos2d-x/framework/cocos2d-x-3.4/tools/cocos2d-console/bin2. Write the shell script stored in your own program directorynewproject.sh#!/bin/bashecho please Input Project
on the Internet to see a test shell problem--the statistics of a folder size greater than 7MB the folder Okay, I'll do it. Deep, personal feel, this problem is the main test of the regular use of the Linux proficiency (I am not very familiar with,
Generating files of any size/dev/zerois A character special device, which infinitely returns the zero byte.The above command would create a file called Junk.datathat is exactly 1MB in size. Let ' s goThrough the Parameters:ifstands for–inputfile,
These days there is a bug wrapped around me for half a day, so I have this article.Touch screen because added a notebook keyboard can not be used, take off the notebook keyboard, touch screen can be used again, really ghost.A little research, the
Programming languages: Including machine language, assembly language, {high-level language [static language (compiled language, generally strongly typed variable, need to be published as executable, C, C + +, java,c#) and dynamic language
The parentheses in the shell have their special usage and are summarized as follows:1. Parentheses after the symbol $${a} The value of variable A to omit curly braces without causing ambiguity.The $ (cmd) command is replaced with the result of the
The shell script's reference book from the foundation to the advanced can find hundreds of, the beans here for the entire study note integrity, or audacity the most basic grammar review again. The most basic include variables, comparisons, operators,
# # #判断linux系统是32位还是64位You can use "getconf word_bit" and "getconf long_bit" to get the digits of WORD and LONG, and 64-bit systems should be 32 and 64 respectively.If [$ (getconf word_bit) = ' + '] && [$ (getconf long_bit) = ' 64 ']; ThenEcho
①$[] $[$a operator $b]Example: a=2;b=3;echo $[$a + $b] # 5echo $[$a-$b] #-3echo $[++ $a-$b] #0c=$[$a + $b] #√c=6D=$[A+B] # 6 Note: Except that the self-add-decrement operator is supported; only integer operations can be performed; + + does not
▲ Shell ScriptShell Script is to use Shell the function of a program written by this program is to use a plain text file that will some Shell Grammar and instruction are written in, with regular expressions, piping commands and data flow redirection,
Set to white on black backgroundEcho-e "/033[037;40m"Color is selected by adding a dedicated sequence-basically a numeric value sandwiched between "/e[" and "M". If more than one numeric code is specified, separate them with semicolons.Echo-e "/e[31;
installation and use of the Shell encryption tool SHC1) Tool DescriptionShell scripts are read-write and are likely to leak sensitive information, such as username/password/path/IP. It also leaks sensitive information while the shell script is
In the bash Shell , $ () and "(anti-quote) are used for command substitution.The so-called command substitution is similar to the variable substitution we learned in the fifth chapter, which is used to reorganize the command line:* Complete the
The Shell is process-oriented(Bash for example)Variables are process variables, process ends, and variables disappear.Bash Variable type:Environment variablesLocal variables (local variables):Positional variablesSpecial variablesLocal variables: Set
Linux Shell Script Raiders notesFourth Chapter: Efficient Text Processing1, the IP address of the regular expression: [0-9]{1,3}\. [0-9] {1,3}\. [0-9] {1,3}\. [0-9] {1,3}2, grep usage//recursive retrieval of text in a multilevel directory [[email
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