Chapter 6 Advanced Shell script programming

7.9 examples Example: generate 10 random numbers, save them in the array, and find their maximum and minimum values [root@rocky8 ~]# vim max_min.sh #!/bin/bash # #********************************************************************************************** #Author: Raymond #QQ: 88563128 #Date: 2021-10-22 #FileName: ...

Posted by webAmeteur on Thu, 11 Nov 2021 05:36:57 +0100

Planning and operation theory 01 -- installation steps of openeuler operating system and graphical interface (the most detailed in the whole network)

Installation steps of openEuler operating system and graphical interface 1, Write in front To tell you the truth, I haven't even heard of OpenEuler before. Here's the installation process through mountains and mountains and twists and turns. I thought it should be easy to install virtual machines like Ubuntu, but it turned out to be diffe ...

Posted by xlordt on Thu, 04 Nov 2021 06:27:11 +0100

Summary of shell script writing on October 30, 2021

Summarize the scripting from 10.14 to 10.28 In order to consolidate the relevant knowledge points of shell script, the problems and solutions encountered in writing script are summarized. Title I 10.14.sh The logic is not perfect, and there is no troubleshooting experiment. Many problems will arise when troubleshooting experiments are carried ...

Posted by idevlin on Sun, 31 Oct 2021 07:48:53 +0100

awk common syntax

The awk command is used for output, statistics, and other processing of records that match styles in a file. awk command syntax: awk pattern { ACTION } While awk reads the file, the variable $0 holds the entire line, the variable $1 holds the contents of the first field, $2 holds the contents of the second field,.... The variable NF holds ...

Posted by deemurphy on Thu, 21 Oct 2021 21:53:17 +0200