1. Text editingCommand mode shortcut key command
Command
Role
Dd
Delete (cut) the entire line where the cursor is located.
5dd
Delete (cut) 5 lines starting at the cursor.
Yy
First, Swap introduction:Swap (swap partition) in Linux, similar to the virtual memory of Windows. A portion of the hard disk space is virtual into memory, and the inactive memory in the system is paged to swap to increase the available memory of
17.1 rpm:rpm Package Manager
17.2 Rpmargs: Handling RPM Packages
17.3 Rpmbuild: Building RPM Packages
17.4 Rpmdiff: Compare the differences between two packages
17.5 Rpmelfsym: List symbols by object file in RPM package
17.6
For CentOS, for example, there is no C language and C + + compilation environment, need to install manually, the simplest is to use Yum installation, the process is as follows:1. Installing GCCYum Install GCCAsk if, press Y to enter, orYum-y Install
Tag: Install the virtual machine operating system.I. The beginning of study1. Give yourself a position (your position, where to go in the future, set a goal for yourself)Two. ConventionsUsing CentOS 7.4, VMware Workstation Pro 14, Xshell, Baidu
Common commandsIptables-l-N view firewall rules;Iptables-f to clear all rule chains in the preset table filterIptables-x Clear Preset table rules in user-defined chains in filter/etc/rc.d/init.d/iptables save to write the changes to
Linux Network relatedIfconfig View the IP of the NIC (yum install net-tools)Ifup Ens33/ifdown Ens33 to start and close the NICSet the virtual NIC Ens33:1The place to change is IP and name, and then reboot.If you cannot add a backslash to the colon
Installation and partitioningTwo Ubuntu were installed on the virtual box on OS X and WIN10.Installation and simple shell commands do not say, no big gains.There was a problem in the middle because deft on hand did not allocate enough memory to the
Note: Almost all device structures contain the structure of "Strcut kobject kobj" and "Srtuct list_head list".struct Kobject kobj:This structure is used to build the model of Linux device driver model.struct List_head{struct List_head
Centos7Nginx mysql PHP can be installed separately and then in the configuration Nginx mutual phpInstall some of the necessary libraries first------------------------------------------------------------------------------------------------------------
33.1 access control procedures for XHOST:X servers
33.2 XINIT:X Window System initialization
33.3 xlsclients: List running client applications in the display
33.4 xlsfonts: Displays the X Server font list
33.5 Resize: Setting the
Non-active users in Linux exit automatically.
Let's imagine this scenario. One of your servers is often accessed by multiple users in different systems on the network. Some users may forget to log out of the session to keep the session in connection.
The meaning of the file color in Linux, and the meaning of the linux color
Color
Description
Red
Compressing a file or package
Blue
Directory files
Light blue
Link file
Role of systemd
In the morning, the group discussed the role of systemd, which also led to a person's direct withdrawal from the group. In the spirit of seeking knowledge, he searched for some systemd and made some corresponding sorting;I. The birth
In Ubuntu, the command line is used to create (delete) files (folders ).In many cases, we create and delete files/folders on the terminal.
Press ctrl + alt + t to open the terminal:
Create File: touch a.txt create Folder: mkdir NewFolder delete file:
C Language exercises in Linux: pointers for mystrcmp, mystrlen, and mystrcmpmystrlen
C Language exercises in Linux: pointers for mystrcmp and mystrlen
# Include
# Include
Char * mystrcmp (char * str, char * str1) {while (* (str ++)-*
Sharing common linux commands and sharing common linux commands
Query logs in a certain period of time in a log
Sed-n'/16:17:20/,/16:17:36/P' test. log
The date must be printed in log. Use grep '2017-12-17 16:17:20 'test. log to query whether the
Load Balancing cluster LVS-DR and LVS-NATLVS-DR for Server Load balancer Clusters
Scheduling Server:One Network Card:Vmnet1: 192.168.80.100------------------------- Load the LVS kernel module ----------------------LVS is now part of the Linux kernel.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service