The MISC miscellaneous device in Linux is a driver with the master device Number 10. It is easy to register and use, so it is suitable for devices with simple functions.
It has its own device structure:
Struct miscdevice {Int minor;Const char *
There are many compression tools under linux, and the commonly used format is tar.gz, tar.bz2, zip, etc.
A simple comparison:
Tar-zcvf etc.tar.gz/etctar-jcvf etc.tar.bz2/etczip-ry etc.zip/etc
Note: you must add two options to the zip command.
-
Qt: qt-everywhere-opensource-src-4.6.0.tar.gzEmbed platform: 2440Arm-Linux-GCC: 4.1.2, download (when I use 4.3.2 and 4.4.1, there is a segment error during porting. I put it in:/Usr/local/ARM/4.1.2/.)
Convert QT-Everywhere-Decompress the
Vim ~ /. Lftp/RC
Set ftp: charset "GBK"
Set file: charset "UTF-8"
Alias CN "set ftp: charset GBK; set file: charset UTF-8"
Alias utf8 "set ftp: charset UTF-8; set file: charset UTF-8"
"By default, files in simplified Chinese
/Etc/sysconfig/network-scripts/ifcfg-eth0
The configuration file of the wireless network card cannot be found in this directory. This is strange.
# RealTek semiconduco., Ltd. RTL-8139/8139c/8139c +Device = eth0 Interface NameBootproto = none static
Sort is a commonly used command in Linux. It manages sorting and focuses on sort in five minutes. Start now!
1. How sort works
Sort compares each row of a file as a unit. The comparison principle is to compare the lines from the first character to
Note: The user-level USB driver is well written. It seems that QT embedded porting is also based on this.Kernel-level USB drivers have problems in the following aspects:
1. When the customers who use our products have a 2.4 kernel platform and a 2.6
Document directory
Temporary File TMP cleanup in Linux
Temporary File TMP cleanup in Linux
A temporary file (under/tmp) is generated after the system has been used for a long time and needs to be cleared. However, it is not recommended to use
As a result of your responsibilities, you have to read the notes for obscure Linux applications. Then, you run the command and edit the settings file. Everything is running and livingBeautiful. However, you know, good times will not last forever.
We mentioned the concept that any device is a file in Linux. In addition, even interfaces for data communication are also the responsibility of exclusive files. Therefore, you will understand that there are many types of Linux Files. In addition to
1. Introduction
IPMI (Intelligent platform management interface) is a new generation of common interface standards that enable intelligent Hardware Management. You can use IPMI to monitor the physical characteristics of the server, such as
In Linux, back up partition tables:
Use the DD command
1. Back up the MBR Master Boot Record without backing up the master Partition Table:
# Dd If =/dev/SDA of = MBR. Backup BS = 446 COUNT = 1
2. View in hexadecimal format:# HD-v mbr. Backup0000000
Recently, due to the large number of built-in partners, many Android mobile phones of many manufacturers in my Ubuntu system cannot be correctly identified. After some hard work, I checked the SDK, now we have sorted out the ADB driver configuration
The Linux limits. conf configuration limits. conf file is actually the configuration file of pam_limits.so in Linux PAM (plug-in authentication module, pluggable authentication modules), and only for a single session.
The limits. conf format is as
OverviewMulti-threaded programs, as a multi-task and concurrent working method, have the following advantages:1) Improve application response. This is especially meaningful for graphic interface programs. When an operation takes a long time, the
I re-read the CFS scheduler today, so I can't help writing another article about CFs. The running time of the CFS scheduler is 0 (logn ), in the past, the running time of the scheduler was O (1). Does this mean that the efficiency of CFS is worse
The basic series is better than the subsystem series. Most of these series are excerpted. Many brothers have made a good conclusion before and thank you for choosing them.
I have recently dealt with a debugging problem involving Linux signals. I
The last time we talked about how to build a LinuxDevelopment environment. This time, we will build our own cross-compiling environment for ARM-Linux based on different target platforms.There are many ways to build a cross-compiler environment.
The 16c2550 serial port chip can be used to expand two serial ports. Its operation method and register usage are exactly the same as 8250, so we can use the classic 8250 driver in Linux to drive st16c2550.
8250 the driver remains unchanged. You need
In the previous article, I briefly introduced the ipip module and the initialization of the tunnel. Now I want to introduce the process of sending and receiving packets using the ipip protocol.
Before sending and receiving packets, it is worth
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