JGsoft RegexBuddy

awk 1. Common usage of awk Usually, the command format used by awk is as follows, where single quotation marks plus braces "{}" are used to set the processing actions for data. Awk can process the target file directly, or it can process the target file by reading the script "-f". By default, the field separator is a space o ...

Posted on Thu, 10 Oct 2019 10:17:51 -0700 by Chris 96 WS6

Shell Programming-Conditional Judgment

Conditional Judgment of Shell Programming Conditional test operation test command Test whether a particular expression is valid. When the condition is valid, the return value of the test statement is 0, otherwise it is another value. Format 1: test conditional expression Format 2: [Conditional expression] Document testing[Operator file or dir ...

Posted on Thu, 10 Oct 2019 02:57:36 -0700 by swissbeets

[Linux Services] vsftpd File Transfer Protocol

vsftpd file transfer protocol System environment: CentOS Linux release 7.6.1810 (Core) I. Brief Introduction ftp (File Transfer Protocol) is called Very Secure FTP Server. Vsftpd is the ftp server software running on linux operating system. - vsftp provides three login modes: 1. anonymous login; 2. local user login; 3. virtual user login T ...

Posted on Wed, 09 Oct 2019 17:11:35 -0700 by c_shelswell

Teaching Wife to Learn Common Command Guidelines for Linux Operations and Maintenance

Teach your wife to learn Linux (two) Linux frequently used command Guide Author: Yao Maomao's blog tips: The article is too long, and it is sent out in two chapters. The first three chapters are: 1. File and directory operation; 2. File viewing and editing; 3. File searching and statistics. [TOC] I. overview 1.1 Write in the front-Learning Gui ...

Posted on Wed, 09 Oct 2019 17:10:16 -0700 by the_damo2004

Shell Programming Loop Statement

This article is mainly about the use of shell script loop statements. for loop Designated number of times #!/bin/bash for ((i=1;i<=10;i++)) do echo $i done [root@localhost ~]# vim num.sh [root@localhost ~]# chmod +x num.sh [root@localhost ~]# ./num.sh 1 2 3 4 5 6 7 8 9 10 Ergodic cycle #!/bin/bash TMP=$(cat username.txt) for USER in $T ...

Posted on Wed, 09 Oct 2019 16:10:41 -0700 by Okami

Operational examples of [docker project]

In [info] production, containers are usually created by dockerfile and docker-compose is used to link containers. General operating procedures # Start docker systemctl start docker systemctl status docker # Go to the warehouse and get the mirror first. docker search ubuntu docker pull ubuntu docker images # Run Mirror Container - dit enters d ...

Posted on Wed, 09 Oct 2019 10:47:21 -0700 by MrSarun

Shell Programming-case Statement and Loop Statement

case multi-branch statement The Structure of case Statement Different command sequences are executed for different values of variables Example 1 Keyboard Type Recognition Prompt the user to enter a character Determine that the character is an alphabet, number, or other character #!/bin/bash read -p "Please enter a character:" key case ...

Posted on Wed, 09 Oct 2019 06:40:23 -0700 by faizulbari

docker mysql container mount using-data file_configuration file

mysql container use-data file_configuration file mount Download mirroring [root@silence ~]# docker pull docker.io/mysql:5.6 [root@silence ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/mysql 5.6 95e0fc47b096 11 days ago 257 MB docker.io/mysql ...

Posted on Wed, 09 Oct 2019 05:44:00 -0700 by bloodl

vsftpd virtual user

I. Turn off SElinux setenforce 0 Installation of vsftpd service 2.1 Install vsftpd with yum yum -y install vsftpd 2.2 Backup vsftpd master configuration file cp /etc/vsftpd/vsftpd.conf{,.bak} Configuring vsftpd services accessed by virtual users: 3.1 Create Virtual User Password File vim /etc/vsftpd/vir_user 3.2 Generating Virtual User Datab ...

Posted on Tue, 08 Oct 2019 18:07:01 -0700 by brax23

golang uses dynamic link libraries (shared link libraries) for compilation

Using go help build mode, we can see that go can be built in many ways, using static link libraries by default. ➜ src go help buildmode The 'go build' and 'go install' commands take a -buildmode argument which indicates which kind of object file is to be built. Currently supported values are: -buildmode=archive Build the ...

Posted on Tue, 08 Oct 2019 05:10:21 -0700 by Dennis Madsen