1. Text deletion/Movement
When editing text, often need to delete some unwanted text, we can use the key to the wrong or unwanted text deletion, but at this time there is a limit is that when you delete the wardrobe, then want to delete the
The general format for this command is:
ping [options] [Host name/IP address]
More details
Ping [-dfnqrrv][-c][-i][-I][-l][-p][-s ][-t][host name or IP address]
The common parameters for Ping are as follows:
-c number stops after sending a
Windows and Linux transfer files, the most common tool is ftp,sftp, these two tools to use more trouble, the directory is deep, very depressed. There is no command, you can download anytime, at any time upload. Today only found such a command sz/rz,
[root@node61 ~] #cat/proc/sys/net/netfilter/nf_conntrack_max24528
Because the default parameter setting for Nf_conntrack_max is relatively small, adjust it appropriately.Run the following code
Cat >>/etc/sysctl.confNet.nf_conntrack_max =
MySQL Service configuration: Modify the parameters in the MySQL profile (My.ini under Windows, MY.CNF under Linux):
SolutionsModify the php.ini parameter to
[MySQL]
The code is as follows
Copy Code
; Allow or block
First create a backup file
The code is as follows
Copy Code
Mkdir/datalin/dataVi/datalin/databak write down the following content(//Stop database "LNMP environment" (Description not to be written in)/etc/init.d/mysql
It suddenly occurred to me today that it would be nice if the server could send a daily MySQL backup to my mail. I also do not need to go to the server every day to download backup files, and this machine can also appear hard disk mechanical failure,
View Permission CommandPermission to view the directory can be ls-ld by command, or directly with Ls-la
Such as
Ls-l Www.111cn.net//Here represents view 111CN DirectoryModify Permission Command
chmod 777 filename
1.chmod 577/home/stuser-r2.umask-
The history command is primarily used to display historical instruction record content and to release instructions in the history record.1>history command syntax:[test@linux]# history [n][Test@linux]# History [-c][test@linux]# history [-raw]
In the process of managing a server, often when editing this file, suddenly to see other information, this is the time, the usual way is to exit the edit, and then to view the information.
But if we combine FG with BG command, we can make our work
The code is as follows
Copy Code
1.RewriteCond%{http_host} ^111cn.net$ [NC]2.RewriteRule ^ (. *) $ http://www.111cn.net/$1 [l,r=301]
. htaccess set 301 method, old domain name to new domain name
To set the method:
Suspend is a built-in shell command to pause the shell currently being executed. To recover, you must use SIGCONT information.SyntaxSuspend [-f]Parameter description: -F if the currently executed shell is the login shell, the suspend cannot be
Windows1. Install php7 alpha on windows only need to download from the official website http://windows.php.net/qa/ and then directly configure it, if you don't you can download PHP Manager, directly configure it. In this case, you need to test. Open
Step 1: Add a remote repositoryGit remote add origin the first repository address // origin is just an aliasGit remote add osc second repository address // osc is also an aliasStep 2:Create branchGit checkout-B masterGit checkout-B oscStep 3:Code
I believe many people have encountered the problem that PPA cannot be added. There may be two main reasons for this problem: the CA certificate is broken, and the network connection problem.Once we understand the cause, we know how to solve this
In many UNIX instruction files, there are RLF control characters. When we use shell special characters ">" and ">" to output the content of the description file into a plain text file, the control characters will become garbled characters, the col
The Linux ar command is used to create or modify a file to be kept, or to extract files from the file to be kept.Ar allows you to collect a large number of files into a single file. All member files keep their original attributes and
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