This article mainly writes some shell script editing tool awk use.
awk is a powerful editing tool, which reads the input text line by line, searches according to the specified matching mode, and formats and outputs or filters the qualified content.
Awk tends to divide a row into multiple fields before processing, and by default, the f ...
Posted on Tue, 15 Oct 2019 12:45:47 -0700 by bettyatolive
Introduction: Dnsmasq is a lightweight DNS server. It is also an open source project with simple and fast configuration. Dnsmasq provides DNS caching and DHCP services. As a domain name resolution server (DNS), dnsmasq can cache DNS requests to improve the connection speed of visited Web sites. As a DHCP server, dnsmasq c ...
Posted on Sun, 16 Jun 2019 10:57:19 -0700 by stebbi
When using the linux operating system, when we forget the location of a file storage before, but know its file name or vague file name, we can find it through the file search tool. linux provides two commonly used search tools, location and find. In daily use, the latter is more powerful and more real-time than the former. Here we will These tw ...
Posted on Tue, 11 Jun 2019 14:01:52 -0700 by bachx
Function: Display the target list, which is a command with high usage in Linux. The output information of ls command can be highlighted in color to partition different types of files.
- a: Display all files and directories (the file name or directory name must be regarded as a video collection in ls, not listed);
- A: Displ ...
Posted on Mon, 22 Apr 2019 09:39:34 -0700 by steven fullman
VII. Constructing Temporary System
1. General Compilation Guide
a. Verify that LFS environment variables are set correctly
b. Assume that you have set it correctly Host system requirements And symbolic links
c. For each package:
(1) Make sure that you are using lfs users when decompressing packages
(2) Unless otherwise specified, de ...
Posted on Fri, 22 Mar 2019 06:15:53 -0700 by chiprivers
Mission 17 October
- n Prints only matching rows, otherwise other rows will be printed.
p Printing (with - n)
[root@centos7 tmp]# sed -n '/root/'p passwd
I. Ignore case (uppercase i)
# Pay attention to the ...
Posted on Fri, 01 Feb 2019 08:54:15 -0800 by yendor
shell special symbols (1)
* Any arbitrary character
? Any character
* # comment character
*\ Definition character
* pipe symbol
Cut is used to intercept a field in the form of # cut d `separator character'[-cf]n, n being a number.
d is followed by a separator, which should be enclosed in single quotati ...
Posted on Tue, 25 Dec 2018 10:03:06 -0800 by jrtaylor
In the linux operating system, every user in the / etc/passwd file has a corresponding record line, which records the basic attributes of the user. This file is readable to all users.
And the / etc/shadow file, like his name, is a shadow of the passwd file. The record line in the / etc/shadow file corresponds to one of the / e ...
Posted on Thu, 13 Dec 2018 01:36:06 -0800 by MrPen