Chapter 6 Introduction to Shell script programming
3.bash configuration file
There are many bash shell configuration files, which can be divided into the following categories
3.1 it is divided into two categories according to the effective scope
Global configuration: for all users
/etc/profile
/etc/profile.d/*.sh
/etc/bashrc
Personal configuration: only valid for specific users
~/.bash_p ...
Posted by cristalmolix on Sat, 23 Oct 2021 17:10:41 -0700
[Javaweb] can you find npy without some technical work? ❤️ Look at this email ❤️ (1024 is a programmer's holiday)
Take qq mailbox as an example
To realize the mail function on the network, there must be a special mail server
The mail server is similar to the real post office. It is mainly responsible for receiving the mail delivered by the user and delivering the mail to the e-mail of the mail recipient.
1. Zhang San connects to the SMTP server thr ...
Posted by ailgup on Sat, 23 Oct 2021 15:11:19 -0700
Jenkins combined with gitlab to realize static project release
1, Jenkins basic overview
1.1 what is Jenkins
Jenkins is an open source continuous integration tool that provides a friendly operation interface. It is developed by JAVA. Jenkins is a scheduling platform that does not handle anything and calls third-party plug-ins to complete all work. Jenkins is an open source CI & CD software leader ...
Posted by ollie007 on Sat, 23 Oct 2021 12:35:36 -0700
Nginx -- matching rules in nginx
preface
Powerful functions in nginx, such as rewrite and proxy_pass is inseparable from his matching rules. Understand nginx and learn advanced nginx usage. You must know all kinds of matching priorities and matching syntax
1, nginx location
1. Syntax rules and priorities
location [=|~|~*|!~|!~*|^~] /uri/ {
...
}
= ...
Posted by busin3ss on Fri, 22 Oct 2021 18:06:29 -0700
Chapter 6 Introduction to Shell script programming
2.7.11 script security and set
set command: can be used to customize the shell environment
$- variable
h: hashall, after the option is turned on, the Shell will hash the path where the command is located to avoid querying every time. Turn off the H option through set +h i: Interactive comments, including this option, indicates that the curre ...
Posted by phynias on Fri, 22 Oct 2021 17:11:27 -0700
Automatically backup server data to local windows
Application scenario
Recently, there is a requirement that after the server executes an instruction, it needs to back up the generated data to windows. It's not easy to check on the Internet. Some need to write a script to run in windows, but this application does not need windows operation. Instead, it monitors the operation of the server and ...
Posted by Absorbator on Fri, 22 Oct 2021 05:13:43 -0700
OSSIM open source security information management system
2021SC@SDUSC
The code analyzed last week is mainly Framework.py. This week, we will analyze the code of other files involved in the call.
1. Analysis of other classes involved in Framework.py
1.1 brief introduction
Last week, we briefly analyzed and introduced the source code of the main source code file Framework.py of the Framework p ...
Posted by footiemadman007 on Fri, 22 Oct 2021 05:05:20 -0700
Explanation of environment variables and shell in Linux (Section 3)
preface
The content of this section is to explain how to execute the command line of Linux, including basic knowledge such as command interpreter, shell configuration, alias, environment variables, etc.
1.Shell introduction
Shell is the middle bridge between the kernel and users. In fact, it is the interpreter to interpret commands. ...
Posted by ReKoNiZe on Thu, 21 Oct 2021 23:40:27 -0700
Chapter 6 Introduction to Shell script programming
1. Fundamentals of programming
Linus: Talk is cheap, show me the code
1.1 procedure composition
Program: algorithm + data structureData: is the core of the programData structure: the type and organization of data in a computerAlgorithm: how to process data
1.2 programming style
Process oriented language
To do one thing, arrange two st ...
Posted by mitsubishi2002 on Thu, 21 Oct 2021 17:09:36 -0700
KVM virtualization deployment
KVM deployment
Introduction to virtualization
Virtualization is the foundation of cloud computing. In short, virtualization enables multiple virtual machines to run on a physical server. Virtual machines share CPU, memory and IO hardware resources of physical machines, but logically, virtual machines are isolated from each other.
The phy ...
Posted by dusty on Wed, 20 Oct 2021 16:57:26 -0700