1. Three status Modes
2. Common VI commands
: E filename (open a new file to the VI editor): E! Filename (open a new file to the VI editor and discard modifications to the current file)
: R filename (read file content to the current VI editor)
:
The IOCTL test is an advanced Note of the coolder (1). The underlying IOCTL processing can control all registers by means of shift !~
Main. c upper-layer application test code
# Include # include # include # include # include # include
1. Prepare the source code.
The latest source code can be obtained from kernel.org, such as the current latest version of 2.6.31: $ wget Linux-kernel/v2.6/linux-2.6.31.tar.bz2 "> http://oss.ustc.edu.cn/linux-kernel/v2.6/linux-2.6.31.tar.bz2
2.
More and more profound understanding of the importance of the foundation, so I want to study a course well, cultivate 0.0001 battle force as the core competitiveness.
The experts have stepped on this post. Please leave some suggestions.
Main
After the Chinese RedHat is installed, run the setup, VI, and other commands on the Character interface to display garbled characters. The solution after searching the network is as follows:
1. temporary solution# Exportlc_all = POSIXAfter the
// Passive. C for TCP and UDP # include
# Include
# Include
# Include
# Include
# Include
Void error (INT status, int err, char * FMT ,...) {va_list AP; va_start (AP, FMT); vfprintf (stderr,
# Include # Include # Include # Include # Include # Include # Include # Include # Include # Include
Struct sockargs {Int S;Struct sockaddr_in * remote;};
Void * process_server (void * ARGs ){Int Len, S;Time_t Ti;Char buff [128];Struct sockaddr_in *
// Server_wait.c
# Include "unistd. H"# Include "sys/types. H"# Include "sys/socket. H"# Include "netinet/in. H"# Include "ARPA/inet. H"# Include "stdio. H"# Include "string. H"# Include # Include # Include # Include
Void error (INT status, int err,
There are two methods: 1. Switch to another text interface (Alt + Ctrl + F1 ~ 6) After logging in, you can use this command: killall x
2. VI/etc/inittab
Change default5 to default3
If you want to prevent the system from logging on to the image and
There is no progress in writing sdks recently. There are so many things about smartcard. Do you have a higher requirement for a fresh undergraduate student? Haha, I like it very much and it is only faster to improve it, however, in many cases, I am
I often see the list head in the Linux kernel. Sometimes I am not very familiar with it. I plan to understand it very early. After compiling the SDK this time, I am a little idle. Let's just take it out.
Simple Linked List Implementation
#include
First, let's take a look at the frequently used Linux commands for later convenience. You can use the man command directly on the terminal. The following operations are based on Ubuntu.
1. CP and SCP
CP: copy of the current computer
SCP: Copy
Linux Kernel compilation-cainiao
To install virtual machines, perform some Linux experiments. Therefore, we installed vmware5.5 and didn't want to install VMware Tools. However, to communicate with the host and transmit some files, the following
Three days later, it was incredible that this summer was not so hot. Maybe the real heat has not arrived yet. As time passes by, you cannot get the way you want to live. You need to think differently, understand the true meaning of life, and pursue
About initramfs
Initramfs is compiled at the same time and connected to the kernel into a file. It is linked to address _ initramfs_start and loaded to Ram at the same time as the kernel. The space occupied by the original cpio package (compressed
In the project and network connection modules, I had to constantly check whether the network was normal. I tried a lot of methods and finally found a more reliable method. Now I will share it with you.
# Include # Include # Include # Include #
From: http://blog.csdn.net/racehorse/archive/2007/11/14/1884038.aspx
After reading the first few chapters of Linux driver, I have compiled a 2.4 Kernel Driver Based on the character driver of the 2.6 kernel provided in this tutorial, A detailed
My system was originally Win2k + LINUX 9. Today, to debug a problem, I upgraded the system to Windows XP and naturally cannot start Linux, I tried loadlin and grub4dos and thought it was more convenient to use the latter.I downloaded grub4dos of the
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