Vim package, which contains all common plug-ins. The root plug-in is published on 2015-01-0610: 24: 02linux *************************************** **************************************** ** @ authorMaoxiaoHu * @ versionV1.0.0 * @ dateJan-2015 ****************************** *********
Vim package, all commonly used plug-ins are provided. The root plug-in is published on 10:24:02 linux /**************************** **************************************** * ************ @ author Maoxiao Hu * @ version V1.0.0 * @ date Jan-2015 ************* **************************
Vim package, which comes with all common plug-insRoot posted on 10:24:02
Linux
/*************************************** **************************************** ** @ Author Maoxiao Hu * @ version V1.0.0 * @ date Jan-2015 ************************ *************************... Enter
ARGV of awk, ARGIND, mktime (), strftime ()Admin posted on 08:48:06
File Name: file_2011-09-13_17: 00: 07.log a 100 B 200 c 300 .. if the total number of lines in the file has tens of thousands of lines, in the file_2011-09-13_17: 00: 07. insert the timestamp in the file name before each line of the log file, and add one second to each line. The expected file content is: 17: 00: 07a 100 17:00:08 B 200... Enter
Pull the differential lines of the two filesAdmin posted on 08:44:20
AWKLinux
File1 abc cde file2 abc bce how to pull the rows in file1 but not in file2? A command is required, instead of a shell program method ----------- 1. comm command 2. diif command 3. grep-vxFf file2 file1 4. join-a 5. the most flexible and best-to-use speed... Enter
Docker CPU resource restrictionsDebugo was published on 11:31:40
Docker uses Linux cgroup to implement resource restrictions (Linux Note-cgroup). There are two ways to limit the CPU: 1. cpuset CPU Set limits the container to use a fixed CPU core. When using the default libcontainer engine, you can use [code snippets] to specify several fixed CPUs used by the process/docker container during execution. For example, 0-3 or separated by commas, for example, 0, 3, and 4 (0 is the first CPU ). If you use the lxc engine, you can... Enter
Install RHEL6.2 (below) in VMware-RHEL system installationRoot posted on 08:24:08
Linux
1. Open the installed Virtual Machine. Because we didn't set any RHEL installation source in the previous article, the system prompts: 2. Two methods to change the CD settings are marked on the figure, both physical and virtual discs are supported. 1. Select ①: 2. Select ② and click Settings... 3. After setting the CD, restart the VM to enter the installation interface. 4. Go to the installation page. There are five options: 1. Install orupgrade an existing system: Install or update... Enter
[Linux-Basics] re-mount the var PartitionPublished by vaster on 03:38:39
VarLinux
Sometimes we find that the usage of the var partition using du is inconsistent with that of df. Normally, some files are deleted, but the file is still occupied by the program and the space is not released. Sometimes, if you know which program is used up, you can directly release the program after restarting it. Sometimes, you need to unmount the var partition to completely release the space. Check which programs occupy the var partition [code snippet] the first column lists which programs occupy the files. Common programs include: pcscd, crond, sy... Enter
Linux-Tips: Use lsof to restore deleted filesPublished by vaster at 14:37:58
LsofLinux
Prerequisites: After the file is deleted, it is still accessed by the process. Therefore, it is suitable for restoring log files. When a Linux computer is intruded, it is common to delete log files to mask attackers. Management errors may also lead to accidental deletion of important files. For example, when clearing old logs, the active transaction logs of the database are accidentally deleted. Sometimes you can use lsof to restore these files. When a process opens a file, as long as the process keeps opening the file, even if it is deleted, it still exists in the disk. This means that the process does not know... Enter
Android stuido Chinese character display box in ubuntuRoot posted on 04:24:01
Linux
Ubuntu 12.04 LTS installed windows fonts ubuntu Chinese fonts look a bit uncomfortable, so Baidu went down, here we will record how to install the windows Font in ubuntu12.04. Step1. copy the font to the windows system. Generally, the Fonts in the windows system are in C/Windows/Fonts, so go in directly... Enter
VPS from scratch (1): Pick a good ServerJecvay was published at 01:40:29
Linux
What is VPS terminology: a virtual private server is equivalent to a server (similar to a common computer) that can be used only after an operating system is installed on him, and he can access the Internet, you can remotely manipulate it, just like remotely controlling your computer. the difference between him and a general computer is that there is a static public IP address, which can be used to find your computer at any time, and this computer is always on, this is a huge benefit. that is to say, if you have an idle computer, you are always on, IP address... Enter
How to query Apache logs using SQL statements in LinuxLetong published at 13:21:29
Link to the target article :... Enter
Attic backup program for deleting duplicate dataLetong published at 13:12:03
OSLinux
Attic is a Python backup program for deleting duplicate data. It is very suitable for personal backup. Features: efficient storage, ssh remote backup, and data encryption. Install [code snippets] and use the instance initialization directory [code snippets] To back up/www, create an archive [code snippet] named data to list archives [code snippets] restore archives [code snippets] Delete archives [code snippets] 1... Enter
Oracle VM VirtualBox sets the local machine to share files with virtual machinesRoot posted on 08:24:01
Linux
Post reposted from? Url = locale _ environment: the host operating system is Windows 7, and the virtual machine is CentOs6.5 (RedHat Enterprise version... Enter