Chapter 1 Introduction.Introduction to operating systems, file systems, and Linux. Single-core and micro-kernel (VxWorks, the micro-kernel usually contains several synchronization primitives, a simple schedulingProgramCommunication Mechanism with
Some easy-to-Forget Linux knowledge points
Favorites
0. Review the Linux knowledge you have learned and sort out some easily forgotten ones.
1. You can enter multiple commands at a time in the command line, separated by semicolons (;).
2. If the
Linux Regular Expression and file formatting Table of Contents
1 grep
2 SED
3 printf (this command exists)
4 awk
5 file comparison
1 grep
Cat XXX | grep-n-A3-B2 'eth ': displays the row that contains eth in the xxx file and the first two
Linux File and file system compression and packaging Table of Contents
1. Usage and technology of compressed files
2 common Linux compression commands
2.1 extension and compression program
3. Packaging command: Tar
4. Full backup
How sdio interface detects SD card hardware in Linux
Static struct pxamci_platform_data luther_mci_platform_data = {. Detect_delay = 20, // after detecting that the SD device is inserted, the function is executed after detect_delay is delayed..
Purpose:I have mastered the usage of make and can program on Linux.Environment:Linux system, or a Linux server, connected through a terminal. One sentence: There is a Linux compiling environment.Preparation:Prepare three files: file1.c, file2.c, and
How to Learn Linux kernel efficiently
Popularity32894 times of reading
|Classification: Linux Kernel|Keywords: Linux kernel cultivation Learning
Since it is efficient, it is relatively inefficient. Learning is a very mysterious thing in itself.
Linux Device Drivers, 3rd edition2.3.1. user space and kernel space
Kernel space and user space
UNIX transfers execution from user space to kernel space whenever an application issues a system call or is suincluded by a hardware interrupt. kernel
Command:/proc/meninfo
Memtotal: 2518800 kb indicates that the server has 25 GB of memory
Memfree: 1692800 kb. The current free space is 16 GB.Buffers': 69936 KBCached: 417952 KBSwapcached: 0 KBActive: 380872 KBInactive: 328284 KBActive (Anon): 22200
# Vi/etc/resolv. conf modify the DNS server
# Vi/etc/hosts modify the Host Name
$ Ln-s path1 path2 establishes a path2 connection to path1
$ Netstat | grep 7777 | WC-l gets the number of connections on port 777
Find command:Find
Build one of the basic Linux frameworks
Building a Linux by yourself can not only deepen your understanding of Linux, but also help you learn embedded Linux. The process of building a Linux (kernel compilation, file system creation, graphical
Relationship between bus, device, and driver in Linux
1. Bus:
As the connection channel between the host and peripherals, some buses are relatively standard and form many protocols. Such as PCI, USB, 1394, and IIC. Any device can select a suitable
Build your own Linux 3 Preliminary improvement (providing network functions) 1 add profile file
# Ash profile # VIM: syntax = sh # No core files by default # ulimit-s-c 0>/dev/null 2> & 1 # user = "'id-UN'" // not supported yet user Login function,
Signal mechanism in Linux kernel-signal sending
Kernel version:2.6.14
CPU architecture:ARM920T
Author:Ce123. (http://blog.csdn.net/ce123)
When an application sends a signal, it mainly uses kill. Note: Do not be confused by "kill". It is not a
Source code of a Linux UDP Network Communication Example (server and client)
Server code# Include
# Include
# Include
# Include
# Include
# Include
# Include
# Include int main (INT argc, char * argv [])
{
Int sock;
// The peer address used
User authorization and access control
You may have encountered this situation when visiting some websites. When you click a connection, your browser will pop up an authentication dialog box asking you to enter your account and password, if not, you
At present, the internal LAN of many enterprises has been established, and many have also established the internal MIS System and email server on the basis of the LAN, the system even carries out services with large data traffic, such as on-demand
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