RHCE—shell script programming sed

Article Directory Table of Contents Article directory Preface I. Overview working principle 2.sed command parameter: Address character: operate: 3. Cases Use n .=.p to print numbers, numbers 2,$ 1~2: ! semicolon; 1, + 3: /regular expression/ Semicolon represents or relationship special structure 4. Text replacement text replacement Use the address symbol & amp; 5. Text […]

Operating system (Linux) shell shell, user, permissions

Article directory Operating systems and shells Linux users Creation and deletion of ordinary users User switching Linux permissions Linux permission classification File access permissions Modify file permissions permission mask sticky bit Hello everyone, my name is Ji Ning. This article will introduce the Linux shell program and the content of Linux users switching Linux permissions. […]

Linux-Xshell-Jenkins

1. Agile development and continuous integration (CI) 1. What is agile development Agile development takes the evolution of user needs as the core and adopts an iterative and step-by-step approach to software development. In agile development, the software project is divided into multiple sub-projects in the early stages of construction, and the results of each […]

Shell script practical case—database backup

Table of Contents 1.Environment preparation 2. Sub-database and table backup of database 2.1 Branch database backup 2.2 Table backup 2.3 Sub-database and sub-table backup Through this shell script practical case, we will learn and understand how to use shell scripts to implement database and table backups. 1. Environment preparation To implement database backup, first we […]

Shell Programming-“Variables”

The difference between single quotes, double quotes and “ in shell name=”hello” echo name echo “$name” echo ‘$name’ echo $name Guess what the output is, actually it is In the shell, variables under double quotes can be parsed, but variables under single quotes cannot. In addition, the results returned by “ wrapped commands can also […]