Regular expression and programming The Three Swordsmen (grep, sed, awk) command is detailed

Blog Outline:1. Regular expressions(1) Definition of regular expressions(2) Use of regular expressions1. Basic Regular Expressions(1) grep command tool2. Extending regular expressions2. Text Editing Processor1.grep Command Tool2.sed Command Tool3.awk Command Tool 1. Regular expressions (1) Definition of regular expressions Regular expressio ...

Posted on Sat, 09 Nov 2019 12:39:54 -0500 by Labbat

PowerShell saves clipboard pictures and constructs a MarkDown statement

target Recently learning to write documents with MarkDown, I hate passing pictures.Prepare to build your own wheel with PowerShell, but also search ahead and find a lot of Big Brother's documents. The whole process to do is Copy Clipboard Picture with Mouse Enter program processing logic Processing clipboard pictures, saving cost local file ...

Posted on Thu, 07 Nov 2019 16:45:36 -0500 by titel

Installation and configuration of development environment under linux system

Installation system environment CentOS 6.8 64 bit jdk version 7u80 64 bits Tomcat version Tomcat7 maven version Apache Maven 3.6.0 vsftpd version vsftpd-2.2.2-24.el6.x86_64 Nginx version nginx-1.14.2 mysql version mysql-server-5.1.73-8.el6_8.x86_64 git version git version 2.18.0 Alisource configuration #backups [root@192 yum.r ...

Posted on Sun, 03 Nov 2019 09:18:28 -0500 by T Horton

Build extended ACL practice

The topology of this experiment is as follows: Objective: Complete the establishment of extended ACL on R1 route, and achieve the experimental requirements: Allow PC1 to access Linux web services; Allow PC2 to access the ftp service of Linux; PC1 and PC2 are forbidden to access other Linux services; Allow PC1 to connect PC2 Experimental st ...

Posted on Tue, 15 Oct 2019 12:55:53 -0400 by nike121

Extended version of ACL Access Control List (Practice)

Practice environment deployment Server: A Linux Virtual Machine (CentOS 7)Client: Two Windows 10 Virtual Machines (win10-1 win0-2) Topological Structure Diagram Practical steps Step 1: Install the service using the Linux server to verify the ACL effect 1. Networking Status Installation Service yum install httpd -y //Installing web Se ...

Posted on Mon, 14 Oct 2019 04:11:39 -0400 by sufian

Regular Expressions for Shell Programming

Text Processor There are many kinds of text processors or text editors in Linux/UNIX systems, including VIM editors and grep, which we have learned before. And grep, sed, awk are often used in shell programming text processing tools, known as shell programming three swordsmen. sed tools Stream EDitor (Stream EDitor) is a powerful and simple te ...

Posted on Sat, 12 Oct 2019 00:12:15 -0400 by cableuser

Regular expression two of three swordsmen sed tool

Two of the Three Swordsmen sed Tools Stream EDitor (Stream EDitor) is a powerful and simple text parsing and transformation tool, which can read text, edit the text content (delete, replace, add, move, etc.) according to specified conditions, and finally output all lines or only some processed lines. sed can also implement quite complex text ...

Posted on Fri, 11 Oct 2019 15:28:08 -0400 by salman_ahad@yahoo.com

Shell scripts -- regular expressions

The Concept of Regular Expressions Regular expression: Use a single string to describe and match a series of strings that conform to a certain syntactic ruleIt is composed of ordinary characters and special characters. It is commonly used in script programming and text editor, such as php, python, she, etc. It is abbreviated as regex, regexp, ...

Posted on Fri, 11 Oct 2019 04:19:31 -0400 by priya_cks

Regular expression of shell script--sed tool

sed tools sed is a powerful and simple text parsing and transformation tool, which can read text, edit text content (delete, replace, add, move, etc.) according to specified conditions, and finally output all lines or only some processed lines. sed can also implement quite complex text processing operations without interaction, and is widely u ...

Posted on Thu, 10 Oct 2019 09:12:06 -0400 by Jona

Building FTP Server under Linux(/centos7) Virtual Machine

1: installation [root@localhost ~] yum -y install vsftpd #Install vsftpd [root@localhost ~] yum -y install ftp #Install ftp [root@localhost ~] vsftpd -v #View version number II: Start-up Services [root@localhost ~]# systemctl start vsftpd.service #Start ftp service [ro ...

Posted on Thu, 03 Oct 2019 00:37:48 -0400 by nielsg