1) diff/patch: This is a mathematical tool. diff is used to evaluate the difference between two sets, and patch is the sum.
Diff a B> C: Generate diff files a and B c
Patch a C adds a diff file to get B
Patch-r B c B is restored to
2) kernel
Today, Rm-RF. * deleted an important email directory. Fortunately, it was restored through extundelete.Write down the operation process:1. PreparationsMainly throughExtundelete 0.2.0 Recovery completedDependent on two packages
Sudo aptitude
Ii. File directory commands
CD [path] can be a relative or absolute path to change the working directory. This command changes the current directory to the specified directory. If no path is specified, return to the user's main directory. To change
Step 1: Prepare
Open the terminal and obtain the root permission: sudo SuThen install the tool required for Kernel Compilation:
Apt-Get install build-essential kernel-package libncurses5-dev libqt3-headers
Build-essential (basic programming
Author:Liu Peng
Date:2008-12-27
This paper analyzes the main data structure of the frame buffer device driver, and introduces the LCD driver.ProgramDevelopment. Basic Principles
Through framebuffer, the application uses MMAP to map the
1. Introduction
How can we create our ownProgramFunction library?A "program function library" is simply a file that contains some compiledCodeAnd data, the compiled code and data can be used by other programs after the event.The program
Key commands Sort, uniq, cat Merge multiple files cat file1 file2> newfile view repeat sort file1 in the file | uniq-d view only one sort file in the file | uniq-u more detailed command, please refer to the explanation of sort, uniq, and CAT
Linux Process thread learning notes: running newProgram
Zhou yinhui
As we mentioned in the previous article, when a new process is started, the new process will copy most of the context of the parent process and then runCodeIf we make the
One page
The kernel uses the physical page as the basic unit of memory management; the memory management unit (MMU) converts the virtual address to the physical
Address, usually in the unit of page processing. MMU manages the tables in the
"Mr. Wang, I have heard of icing on the cake." I patted the king's head and said.
"You are also icing on the cake. I am a long bag on your head for the last few things you mentioned." Mr. Wang glared at me angrily.
"Ah, why? I also deliberately
LVS + keepalivedWorking principle here do not explain, go to the official website to learn (http://www.linuxvirtualserver.org), here focuses on how to configure!Note: It is best to know about it from the official website without misunderstanding of
In March 31, Linux founder Ranas torvalz advocated increasing the number of regular performance tests on the Linux kernel to promptly identify the causes of performance degradation.
Currently, only a few of the latest linux kernels have
1. Introduction to ProFTPD.
ProFTPD is an open source FTP server software, which is the most widely used domestic version of wu-ftpd in the world. It fixes many defects of WU-FTPd, significant improvements have been made in many aspects. One of the
In Linux, there is an out of memory killer feature, which will jump out when the system memory is used up and selectively kill some processes to release some memory. I believe that the majority of migrant workers who are engaged in programming on
Communication between the 32-bit flagship edition of win7 and the Red Hat Linux system installed in the win7 Virtual Machine
See the following articles for
Linux epoll introduction and program example
1. Where is epoll sacred?
Epoll is currently a hot candidate for developing large-scale concurrent network programs in Linux. epoll is officially introduced in the linux2.6 kernel, similar to select, in
Change the user group to which the chgrp belongs.
It is easy to change the user group of a file. Use chgrp directly. This command is short for Change Group. This makes it easy to remember. However, remember that the name of the user group to be
Finally, I installed a Linux dual-system on XP, and I don't have to play it on a virtual machine anymore. The Ubuntu version is used.
This article introduces basic knowledge about Linux File Systems, mount points, and disk partitions.
This article
This article focuses on the frame capture method and transfers the focus from video4linux to the network. In terms of instant transfer of network images, RTP is also the standard used by major manufacturers. In this phase, we will be able to learn
In fact, looking at their development history, we will naturally know their differences. So the following shows their development history.
UNIX, Linux, and open source software
, At&t Bell Labs's kenth Thompson, Dennis Ritchie, and others began
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