shell programming interaction free command

shell programming interaction free command Article catalog 1, Here Document interaction free2, Expect 1. Basic command2. Parameter incoming3. The embedded execution mode integrates the expect process into the Shell to facilitate execution and processing4. Realize ssh automatic login5. Interactive free disk creation 1, Here Document inte ...

Posted by febrarian on Mon, 17 Jan 2022 16:06:36 +0100

Introduction to Hologres TPCH based performance test

Introduction: This paper will introduce how to do performance test based on TPCH data set in Hologres, and provide reference for test results to facilitate you to select product specifications. background information TPC-H (Business Intelligence Computing test) is a test set developed by the transaction processing performance Council (TPC) to ...

Posted by blues on Mon, 17 Jan 2022 08:47:52 +0100

mysql5.7.29 dual master-slave configuration under linux environment

Note: mysql5.0 is used here 7.29 instantiate, install and deploy on two machines respectively. 106.13.145.174/3306 (Master) and 39.101.213.45/3306 (slave) 1. Install on two machines respectively, and install mysql-5.7.29 decompression version 1.1 upload the installation package to / usr/lcoal tar -zxvf mysql-5.7.29-linux-glibc2.12-x86 ...

Posted by frosty3d on Mon, 17 Jan 2022 01:56:51 +0100

7 very practical Shell script examples!

The day before yesterday, I saw a reader sharing several Shell script example topics in the group. I simply saw them. Why not write and consolidate the basic knowledge, as follows: 1. Concurrently obtain the hostname from several machines, record the time spent returning the information, and redirect to a file hostname Txt, output the CPU info ...

Posted by alecapone on Sun, 16 Jan 2022 01:39:14 +0100

shell script - loop

Run a code segment repeatedly several times, usually with conditions for entering the loop and exiting the loop Number of repeated runs The number of cycles is known in advance The number of cycles is unknown in advance Common circular commands: for, while, until 1, for loop Format 1: for NAME [in WORDS ... ] ; do COMMANDS; done for Variabl ...

Posted by neylitalo on Wed, 12 Jan 2022 09:49:50 +0100

shell script-variable

Naming requirements: Case sensitive You cannot use reserved words in programs such as if, for... Only numbers, letters, and underscores can be used, and cannot start with a number. Short dashes'-'are not supported, as opposed to hostnames. Naming habits: Know what you mean, name it in English words, and reflect the actual effect. Do not use ...

Posted by mapostel on Wed, 05 Jan 2022 09:08:40 +0100

21 liunx shell programming description awk command; BEGIN command, END command, built-in variable NF NR FS; Logic operation of awk; The difference between print and printf

awk is also a great data processing tool. awk is used to intercept qualified columns. Awk is much more powerful than cut; It can even be called awk programming. awk command Format: awk 'Condition 1{Action 1} Condition 2{Action 2} ...' filename meaning: awk is followed by single quotation marks. There will be multiple conditions ...

Posted by filteredhigh on Wed, 05 Jan 2022 05:06:06 +0100

Shell Scripting Basic Grammar Tutorial

Preface _This paper simply records the knowledge about Shell scripting. Original video directions:     Original video Click here 1. Shell Variables (1) Definition: Variable name = variable value A=hello # Define variable A whose value is hello echo $A # Call the variable, note the money, "$" Be careful: Call another ...

Posted by rupturedtoad on Tue, 04 Jan 2022 07:16:14 +0100

DASCTF July X CBCTF 4th web part WP

DASCTF July X CBCTF 4th web part WP ezrce Yapi remote command execution vulnerability YAPI uses mock data / script as the intermediate interaction layer, in which mock data returns fixed content by setting fixed data. For the case that the response content needs to be customized according to the user's request, the mock script processes the ...

Posted by Snatch on Mon, 03 Jan 2022 06:24:19 +0100

Shell awk command

catalogue 1, Working principle 2, Command format 3, Common built-in variables 4, Output text by line 5, Output text by field 6, Calling shell commands through pipes, double quotes 1, Working principle Read the text line by line. By default, the text is separated by a space or tab key. Save the separated fields to the built-in variable, ...

Posted by Siggles on Wed, 29 Dec 2021 07:12:54 +0100