Add your own driver code in the Linux Kernel

In essence, it is to modify the kconfig and makefile files. Familiarize yourself with the kconfig syntax 1. Menu menuname 2. Configure mydomainename 3. bool implements enametoshow 4. Depends on another1_ename  5. Default y 6. Help 7.

Source command in Linux

Source command usage:Source filenamePurpose: read and execute the command in filename in the current bash environment.Note: This command is usually replaced by the "." command.Example: Source filename or. filename (with spaces in the middle)   The

Linux zip command favorites

 Linux zip command favorites From: http://hi.baidu.com/jorling/blog/item/13db7bec1c38a1d32e2e21d3.html File compression and Archiving Sometimes, we need to store a group of files into one for backup or transmission to another directory or even

Analysis of core files in Linux

When our program crashes, the kernel mayIt is mapped to the core file to help programmers find out where the program is faulty. Most often, the errors that almost all c programmers encounter are "segment errors. This is also the most difficult

Use minicom in Linux

1. Machine configuration (1) USB to serial port device: Device Name: ttyusb0, common serial port is ttys0, ttys1 (2) install Linux under VMware. 2. Start Configuration (1) Add a serial device For general serial port: Shut down Linux under vmwarevm,

In Linux, how does one automatically load modules when the system starts.

How does Linux automatically load modules when the system starts? The following is what was previously written when I learned Linux. Later I carefully studied RC. after sysinit finds that you only need to modify the following places, so you don't

How to modify Linux host names

1. Temporarily modify the Host Name Show Host Name: Zhouhh @ zzhh64 :~ $ Hostname Zhh64 Modify host name: Zhouhh @ zzhh64 :~ $ Sudo hostname zzofs Zhouhh @ zzhh64 :~ $ Hostname Zzofs Let's take a look at $ PS1.Zhouhh @ zzhh64 :~ $ Echo $ PS1\ [\ E]

Use Linux to process network traffic data

For Network stress testing, raw data must be processed, and the original Bytes/s It is processed as Mbps and displayed in an intuitive curve chart. 1. Collect network card TrafficSar-N Dev 1 100> net Obtain the network card traffic. The raw data is

Linux QQ automatically exits in Ubuntu 9.10

After upgrading to Ubuntu 2009 Qq often exits automatically. I don't know what the problem is. As a result, I used Web QQ for a period of time. Yesterday we found that it could be processed. Modify/usr/bin/QQ and add an environment variable.Export

A program that generates BMP in Linux

Many people may be confused about memory alignment. Recently, I helped them write test programs and used a BMP Generator, write a relatively simple version, only for 24-bit real color, now the code is published # Include Using namespace STD;Typedef

Application of Linux-video streaming

This section mainly describes the complete program examples, Description of areas not described in detail before. In addition, we will introduce in more detail how to use MMAP in video4linux (Filp-flop) method to capture image data. It also shows

Force uninstall the built-in JDK in Linux

[Root @ localhost soft] # Java-versionJava version "1.4.2 ″Gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42) [Root @ localhost soft] # rpm-Qa | grep JDK[Root @ localhost soft] # rpm-Qa | grep gcjLibgcj-4.1.2-42.el5Java-1.4.2-gcj-compat-1.4.2

Expert recommendation: Nine tips for learning Linux

The following are some tips for learning Linux written by Wang Yin. But with a slight replacement, it can be used to solve all kinds of disputes between FF and IE, five strokes and pinyin, QQ and MSN, IBM and HP, and even fans of Sony and Nintendo. 1

Linux data packet analysis tool tcpdump

Introduction to network data collection and analysis tool tcpdump As the name suggests, tcpdump can completely intercept the "Header" of the packets transmitted in the network for analysis. It supports filtering network layer, protocol, host,

Find file commands in Linux

Ti @ Ti-desktop :~ $ Sudo find/-name cmemk. Ko Returns all cmemk names. ko file path ("/" indicates the meaning of the function symbol. If "find/" is entered, the Linux system is required to search for files in the entire root directory, that is,

Sprintf and snprintf usage (can be used as a supplement to the ITOA function in Linux)

Sprintf and snprintf usage (can be used as a supplement to the ITOA function in Linux) Sprintf () format the output function (image)Function: sprintf () is used for formatting output.Usage: This function is called in int sprintf (char * string, char

How to kill a process in Linux

After collecting and sorting out the relevant Linux killing process materials, I would like to recommend this article to you here. I hope you will see a lot of gains in the future. 1. Kill Purpose: kill a process based on the process number.Usage:

Getting started with Linux

I. About Linux1. What is Linux used?First, few users use Linux as a desktop system, because Windows desktop system is good enough. We mainly use Linux as the operating system of the network server. If you and your application meet the following

Linux exercises (write)

# Include # include int main () {If (write (1, "Here is some data \ n", 18 ))! = 18) write (2, "write error \ n", 12); exit (0 );}Prototype:# Include Size_t write (INT Fildes, const void * Buf, size_t nbytes );The first parameter of write (): 0

Linux exercises (obtain user information)

# Include # include # include # include int main () {uid_t uid; gid_t GID; struct passwd * PW; uid = getuid (); gid = getgid (); printf ("user is % s \ n", getlogin (); printf ("user IDs: uid = % d, gid = % d \ n", uid, GID ); PW = getpwuid (UID)

Total Pages: 5467 1 .... 3841 3842 3843 3844 3845 .... 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.