Linux text editor vi

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) :

Driver settings for Linux parallel port Devices

Reference: http://oss.org.cn/kernel-book/ldd3/ch09s03.html 13-pin led positive input, 25-pin led negative Driver code: Parport_drv.c #include #include #include #include #include #include

IOCTL test tool for Linux Device Drivers (2)

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

Detailed process of compiling the Linux Kernel

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.

Linux learning plan

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

Garbled characters in the Linux character interface-changed to english display

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

Linux network socket programming server (TCP/UDP)

// 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,

Example of a Linux socket programming thread Server

# 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 *

Linux socket programming Server Model (using getaddrinfo)

// 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,

Kill X in Linux

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

Learning Linux bus drivers with cainiao: USB device Enumeration

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

A simple example of a two-way linked list head that learns Linux with cainiao

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

Study embedded Linux commands with cainiao

  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

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

A simple example of Linux input system learning with cainiao

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

Linux route Learning

Root @ Ubuntu :~ # RouteKernel IP route tableTarget gateway subnet mask flag hop reference Interface192.168.77.0*255.255.255.0 u 1 0 0 eth0Link-local * 255.255.0.0 u 1000 0 0 eth0Default 192.168.77.2 0.0.0.0 ug 0 0 0 eth0Root @ Ubuntu :~ #

Start Linux with initramfs together with cainiao

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

Check the connectivity between the network card and the network card in Linux

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 #

Example of a character driver for Linux Kernel

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

Start Linux with grub4dos

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

Total Pages: 5467 1 .... 4881 4882 4883 4884 4885 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.