I believe that everyone who wants to engage in embedded development will have a dream of becoming a master in this field, a master in Linux driver development, or a high level of kernel development. I always believe that as long as there is a dream
ArticleDirectory
What is umask?
How to calculate the umask value?
What is the default permission for creating a file? How can I change the default permission?What is umask?
When we log on to the system and create a file, there is always a
When you need a Kil process, you need to provide a PID (using the kill command) or a process name (using the pkill command ).How does pkill get the process ID through the process name?In Linux, processes are represented by files, and information is
All kernel code basically includes include/Linux/compile. h this file, so it is the foundation, covering some of the column compilation knowledge required by the analysis kernel, this blog will analyze the code in this file:
# Ifndef _
1. Linux link conceptLinux links are classified into two types: hard link and symbolic link ). By default, the ln command generates a hard link.
[Hard connection]Hard connection refers to the connection through the index node. In a Linux File
Chapter 2 Linux and Linux programming Overview
1. Linux is a clone of Unix. It is a UNIX-like system.
Chapter 4 Use GNU CC
1. Optimization Options in GCC
2. GNU extension of C Language
64-digit and inline functions
3. Extension of functions
1. Get the file size
1. Use the stat function to obtain the file size.
Let's take a look at the struct structure. The file size is defined as follows:
# Ifndef _ use_file_offset64_ Off_t st_size;/* size of file, in bytes .*/# Else_ Off64_t st_size;/*
From: http://apps.hi.baidu.com/share/detail/30042616
[Arrangement] How to cancel the ^ m symbol displayed in VI in Linux
Background Knowledge]
^ M is '\ R' in ASCII, carriage return, 0x0d in hexadecimal notation, 015 in hexadecimal notation, and 13
Linux + php5.1.6 + mysql5.0.2 + apache2.0.55 installation and configuration instructions:
I. installation and configuration process and description of mysql5.0.2:
1. # tar-zvxf mysql-5.0.2-alpha.tar.gz
2. CD mysql5.0.2
3../configure -- prefix
Modifying IP addresses and gateways is a common operation. It may cause a lot of unnecessary trouble if you do not set the IP addresses and gateways ..
1. Modify the IP addressVI/etc/sysconfig/network-scripts/ifcfg-eth0Device =
Linux is free, but it is indeed a very good operating system, compared with the MS-WINDOWS is reliable,
Stable, fast, and other advantages, and has a wide range of powerful functions improved according to the unix version. Below, as a typical
You should need to add ZIP extensions on the php-4.4.4 (Note: ZIP extensions after the php-5.2 are directly in PHP, you just need to add -- With-zip when compiling PHP ), according to the official PHP Website:
============================Linux
This article provides a simple example to introduce the message queue in Linux. There are two sections of code to simulate blocking chat. Let's look at the code below!
Msgserver. c
# Include # Include # Include # Include # Include # Include #
The following content is reproduced from http:// OS .51cto.com/art/200910/158639.htm
1. KillPurpose: kill a process based on the process number.Usage: Kill [signal code] process IDExample:[Root @ localhost ~] # Ps auxf | grep httpdNote: Kill-9 to
Abstract: This article introduces the advantages of the dynamic connection library, and describes in detail the compiler of the Linux system on the X86 architecture., Connector, loader how to use a variety of relocation methods to achieve this
For commands related to Linux File Search, see table 2-7.
Table 2-7 commands for searching files in Linux
Command
Brief Chinese description
Program directory
More
Display a file or any output results by PAGE
/Bin
Document directory
Purpose
Syntax
Description
Flag
Exit status
Example
File
Related information
Original log: http://blog.sohu.com/people! A2vmyw5sb3zlexvuaw5nqhnvahuuy29t/159962486.html
Du-sh * command to view the folder size DU in the
How to read and write file data in Linux Kernel
Sometimes you need to read and write file data in linuxkernel-mostly in the driver to be debugged. There is no standard library available for operating files in the kernel, and some functions of
Http://hi.baidu.com/amy_yeni/blog/item/c54003004d9a080b738da5b3.html
Some layers of Linux kernel IPv4 networks:
BSD Socket Layer:This part handles BSD socket-related operations. Each socket is represented in a struct Socket Structure in the kernel.
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