XAMPP Default configuration Take ShellFirst, let's start with science. XAMPP (Apache+mysql+php+perl) is a powerful built-in XAMPP software Station integration package is an easy-to-install Apache release with MySQL, PHP and PERL. XAMPP is really
Users want to use Ogg to synchronize data, the original use is Shareplex, as for why to change ogg,bulabula a bunch of reasons .... This is not what we want to care about, and the customer installed after the configuration of Ogg, the test, the
Popen, Pclose-pipe stream to or from a processFILE *popen (const char *command, const char *type);int Pclose (FILE *stream);DescribeThe Popen () function opens a process by creating a pipe, forking, and invoking the shell. Since a pipe is by
Echo-echo command can display a line or variable of text, or enter a string into the file string- E To resolve the escape character "nimenhao\ Nasfdsaf" printing occurs line -N-Carriage does not wrap in detail: Generally in the
Q: Today in Ubuntu 14 normal user SSH login shell found that the LS command to view the directory, the Discovery folder and files are the same color display! This is unreasonable, Linux will be based on the file type is different color display Ah!
Directory
Re-recognize variables
Function
Conditional statements
Looping statements
1. Re-identification of variablesThere are 3 types of variables in the Shell: User variables, positional
2.2.6.1, Case statements(1) The case statement in the shell acts in the same way as the switch case statement in the C language, with a different format(2) The case statement in the shell is inherently free of break and does not require a break,
Shell Programming:Bash:#!/bin/bash must be specified at the beginning of the shellHow the Shell executes:1../1.sh executes the 1.sh,1.sh in the current directory if the executable file2. bash/usr/local/1.shDefine variable aa= ' QQQ ' = cannot have
first, the numerical judgmentInt1-eq INT2 INT1 and INT2 two number equal true Int1-ne INT2 INT1 and INT2 two number of true int1-gt INT2 INT1 greater than INT1 for true int1-g e INT2 INT1 greater than or equal to INT2 trueInt1-lt INT2 INT1 Less than
Simple to use:Awk: Performs an operation on a single line of the file in solitude.Awk-f: ' {print $1,$4} ': Use ': ' to split the line and print the first fourth field of the line.Detailed Description:awk Command IntroductionThe most basic function
SED command basic usageSED is a non-interactive text editor that edits text files and standard input, which can be input from keyboard input, file redirection, strings, variables, text from pipelines, and so on.Sed reads data from one line of text
While loopSuitable for environments where the proposition is true when the loop is executedWhen a proposition is true, it enters a loop, and a proposition is a false exit loop.Or when the condition is met, it goes into the loop.Syntax format:While
Learning scripts is to facilitate our operations, and for OPS, there is a lot of work that needs to be done repeatedly, such as when we manage user accounts we need to create and delete user accounts in bulk. At this time if using the system comes
1, write script/root/bin/systeminfo.sh, display the current host system information, including host name, IPV4 address, operating system version, kernel version, CPU model, memory size, hard disk size.Script content:650) this.width=650; "src=" Http:/
Typically, there are two ways to detect network connectivity for Linux systems:1. Through "ping command + Destination IP" or "Ping + target IP domain"Note IP network detection for IPV6 address need to try ping6, while ping6 can not use parameter
Linux terminal is divided into physical terminal, pseudo terminal, serial terminal, virtual terminalPhysical Terminal:/dev/consolePseudo terminal (terminal under Remote terminal graphics):/dev/pts/# (digital)Virtual Terminal:/dev/tty#Serial Terminal:
Test, judge, cycleCondition test:To determine whether a demand is satisfied, it needs to be realized by testing mechanism;How to write test expressions to implement the required tests;(1) Execute the command, and use the command status return value
Text Processing tools:The Three musketeers of text processing on Linux:grep: Text Filter tool (mode: pattern);grep: Basic Regular expression,-e,-fEgrep: Extended Regular expression,-g,-fFgrep: Regular expressions are not supported,-e,-gSed:steam
String manipulation${#string} The number of characters in the output sentence${string:position:length} output $position The length of the start of the character${string:position}[[email protected] scripts]# liuyifei=] i like sanpan i like luo
String manipulation${#string} The number of characters in the output sentence${string:position:length} output $position The length of the start of the character${string:position}[[email protected] scripts]# liuyifei=] i like sanpan i like luo
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.