What should I do if I find that the undo code of a vim recovery command is wrong and restored to the previous code? --- Ctrl + z ....... Www.2cto.com is too hard, ctrl + z is too heavy, what should I do? What should I do? If you use vim, you can use
Linux SEARCH Command set I believe that friends familiar with Linux systems know the SEARCH Command-find in Linux. In fact, there are other search commands in Linux, but they are not so often used, the following describes several search commands in
The nginx log cutting script is automatically uploaded to the log server. 1 nginx is installed in yum mode. The system automatically generates the nginx log cutting plan task in/etc/logrotate. d/nginx: Delete the automatically generated scheduled
Root Password loss solution GRUB: on the boot loader menu, type [e] to enter the editing mode. You will face a list of pilot projects. Find the line with the output similar to the following: kernel/vmlinuz-2.4.18-0.4ro root =/dev/hda2 press the
About linux Low-end memory a problem was found in the server program a few days ago. When a cache function is enabled for some files on a disk (save some common results directly to the disk to avoid repeated computation ), the LowFree memory in/proc/
Linux security shutdown script determines the key purpose after 4 minutes of power failure: after the power is down, the server connects to the UPS, And the UPS can only support up to 5 minutes without power, so let's make a judgment here, if the
The startup scripts written before writing the startup script do not have any color. After studying functions, functions is a good startup script interface file. The most important functions are daemon and killproc2. So I wrote nginx #! /Bin/bash #
Find the number of files updated within 24 hours and the total size of the updates. Today, a small shell is written to check whether the databases automatically backed up today are correctly updated to the backup server, the automatic backup part
Some Usage skills of Ubuntu this blog mainly records some usage skills of Ubuntu, And will occasionally add new content to it. 1. A handy screenshot software: Shutter. The installation command is as follows:1 sudo add-apt-repository ppa: shutter/ppa2
4. Full name of commonly abbreviated commands in linux, linux file System permission issues and soft links involved/bin = BINaries/dev = DEVices/etc = ETCetera additional or EdiTable Configure file configuration file/proc = PROCesses/sbin =
5. Install software in linux 4. The full name of the commonly abbreviated commands in linux is linux tarball. Recommended 1. decompress the tarball data to/usr/local/src (see the file name) cd/usr/local/src tar-zvxf softwareCode.tar.gz 2 each
Linux performance monitoring and analysis tool background recently, a pre-developed system performance test is required. The system is deployed on the Linux server cluster. Collects all the information (including CPU, memory, I/O, disk, network
Record Centos commands on 192.168.0.148. view cpu grep "model name"/proc/cpuinfo 2. check whether the cpu is 32-bit or 64-bit getconf LONG_BIT 3. view the current linux version cat/etc/redhat-release ~~~ CentOS release 5.8 (Final )~~~ 4. view kernel
Linux host name hostname setting in Linux is troublesome, and even modifying the host name is no exception. After Linux is installed, its default host name is localhost. Three steps are required to modify the Linux host name. Use hostname to modify
Linux Command play xargs we can use pipelines to redirect the standard output of one command to the standard output of another command, but some commandsXargs is used to receive data only in the form of command line parameters, but not through stdin.
[Ubuntu daily tips] Ubuntu automatically sets the brightness of the notebook screen after Ubuntu is installed, it is found that the screen is the maximum brightness every time the boot screen is set, it is very difficult to set the brightness every
Linux application Summary (1): automatically delete logs n days ago linux is a system that can automatically generate files, logs, emails, backups, and so on. Although hard disks are cheap now, we can have a lot of hard disk space to waste these
Interactive input of linux commands read is an important command used to read input from the keyboard or standard input. Generally, the input is completed only when you press the Enter key. However, in some cases, you cannot press the Enter key.
Rsync service installation and configuration rsync service installation: Check whether the rsync service is installed: rpm-qa | grep rsync if it is installed, You need to configure and modify the following 1. modify/etc/xinetd. set "disable = yes"
To install the SVN server in Centos, perform the following operations to ensure network connectivity. Otherwise, download the installation package of apache and svn and decompress it. install apache yum install httpd2. install svn yum install
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