01. Wildcard characters * 、?、 [], {} function
*: Any number of arbitrary characters
?: Single Character
[A-Z]: one of multiple characters or continuous range, omitted if none
{A,MIN,XY}: Multiple sets of different strings, full match
02. Use NMCLI to create a new connection and configure it with parameters such as a static IP address
# NMCLI Connection Add Con-name "Connection name" ifname "Interface name" type Ethernet
# NMCLI Connection Modify "Connection name" Ipv4.method manual ipv4.address "IP address/Mask length
Default Gateway "
# NMCLI Connection Modify "Connection name" Ipv4.dns DNS server address Connection.autoconnect Yes
# NMCLI Connection up "connection name"
03. Specify the available Yum software sources for Red Hat series Linux hosts
# vim/etc/yum.repos.d/file name. Repo
[Warehouse ID]
Name = Warehouse Description text
BaseURL = Access address of the warehouse
Gpgcheck = 0
What is the difference between an LDAP user account and an ordinary system user account?
LDAP User: belongs to the network account, its login name, password stored on the other server
Ordinary system User: belong to the local account, its login name, password stored in the system/etc/passwd,/etc/shadow
and other documents.
05. When you use Crontab to edit a scheduled task, the format of each task record is composed
Minute hour date Month week
Task command line
What are the characteristics of the MSDOS partition mode, how to use the Fdisk tool to adjust the partition table of the hard disk
MSDOS partition mode: Can divide 1~4 primary partition, or 0~3 primary partition + an extended partition (n logical partition),
Operation of the disk <2.2TB
# fdisk
/dev/Disk Name
Main operation instructions: n New, D Delete, P view partition table, W save exit, Q do not save exit
How the LVM logical Volume storage scheme is implemented, with the use of the main command tools
LVM Storage Scheme: 1 or more scattered storage devices (physical volumes) = = "integrated into larger virtual disks (volume group) = ="
The virtual partition (logical volume) is then divided into the virtual disk, the main advantages: device peers, capacity dynamic scaling the main command tools:
#
#
#
#
Vgcreate
Vgextend
Lvcreate
Lvextend
Volume group name physical storage device ...
Volume group name newly added physical storage device ...
-L size-N Logical Volume name volume group name
-L New Size/dev/Volume group name/Logical volume name
08. What is the role of swap space?
Swap space can use a portion of the hard disk space to simulate memory and alleviate the problem of insufficient physical memory
################################################################################
Linux Administrator Technology