"/" is the VI Editor's Mode search command. When you type/, a line appears at the bottom of the screen, and a diagonal shoulder appears at the beginning of the bottom line, and the cursor is placed after the tilt. At this point, you can type the
The first time to use redhat many unfamiliar places, recorded:
Check Status:
Service Iptables StatusStop service:
Service Iptables StopTo view the Firewall service:
Chkconfig--list | grep iptablesShutdown status is turned on:
Chkconfig--level 23
。 The general format for this command is:
finger [options] [consumer] [user @ host]
The commonly used parameters of finger are as follows:
-S Displays the user's registration name, actual name, terminal name, write status, stagnation time, logon
Problem description
Solving method
Analyze the reason, maybe because I have a problem with my platform migration, we have permission to convert.
1 conversion under Windows:
Use tools such as UltraEdit or editplus to convert scripts to code and
Linux uses Apr when compiling in many placesIf you can't find the APR, you'll get an error.
Configure:WARNING:APR not foundThe Apache Portable Runtime (APR) library cannot be found.Please install APR on this system and configure SubversionWith the
Friends who are often exposed to Linux, especially those on a server that is shared by many people, may often encounter problems like this:Received a disk alarm, said that the XXX partition is full, then log on to the server DF A look, found that
First, the realization principle
SSH logon is done using a method known as "Public key" authentication. A simple explanation for the "public Key" authentication method is:
First create a pair of public private keys on the client (public key file: ~
Queues are a commonly used data structure. In this data structure of the queue, the first inserted element will be first taken out, whereas the last inserted element will be finally taken out, so the queue is also known as the "FIFO" (Fifo:first
VI This command is often used in Linux, today we will learn how to implement a string in the VI bulk replacement.
A. Total replacement in the document:
%s#abc#def#g(Replaces all ABC in the file with Def)
For example, replace All "xwen.com" in a
Linux copies the entire folder file to use-RFCP command format: CP [option] source file or directory destination file or directory option description:-B with the same name, prepare the original file-F Force overwrite file with same name-R Keep the
In the Linux system, we can use the "hostname" command to view the host name, using "Hostname-i" to view the corresponding IP address of the machine name. To modify this host name, you need to modify the two configuration files.
First, modify the "/
How to use
awk ' {pattern + action} ' {filenames}
Although the operation can be complex, the syntax is always the same, where pattern represents what AWK looks for in the data, and the action is a series of commands that are executed when the
A friend on hand has a server that is MYSQL5.1 and needs to be upgraded to 5.5 or more, here to write down the process of upgrading to 5.5
Installing the 5.5-dependent installation package
The code is as follows
Copy Code
The Linux su command is used to change the identity of another user. Except for the root user, you need to enter the user's password.Permission: all users.SyntaxSu [-fmp] [-c command] [-s shell] [-- help] [-- version] [-] [USER [ARG]Parameter
Gitps (gnu interactive tools process status) is a command used to report and manage program execution. Basically, it reports and manages programs through ps commands, and can also be interrupted at any time through gitps commands, delete unnecessary
Sliplogin can add the SLIP interface to the standard input, and change the line of a general terminal to a SLIP line. Generally, it can be used to create a SLIP server to connect the remote computer to the server using a SLIP. Sliplogin checks
If the runlevel of the system is 0 or 6, restart the system. Otherwise, replace the shutdown command (with the-r parameter).SyntaxReboot [-n] [-w] [-d] [-f] [-I]Parameters: -N: Do not write the memory data back to the hard disk before restarting.
The tree chart uses the pid (if specified) or the basic itinerary of init as the root (root). If a user id is specified, the tree chart only displays the user's itinerary.Permission: all users.SyntaxPstree [-a] [-c] [-h |-Hpid] [-l] [-n] [-p] [-u] [-
The following information is displayed: Login Name User Name Home directory Shell Login status Mail status . Plan . Project . ForwardAmong them,. plan,. project, and. forward are the materials in the user's Home Directory
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