The following example listens to the kernel's HotPlug event, the source code is as follows:
Copy Code code as follows:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
If the problem can be reproduced, then the problem has been solved 80%. For the operating system core, if there is a problem to reproduce the method, it can be said that has been resolved 99%. Often the problem is that the system can run normally
I. Compression and decompression1.rar PackageCompression process: RAR A compressed file name. rar to be pressedDecompression process: Unrar x to extract files
2.zipCompression procedure: Zip-Compressed file name. zip pending filesDecompression
1. Enter the catalogue:cd/etc/sysconfig/network-scripts/
2. Use VI command to edit Ifcfg-eth0 as follows:# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]Device=eth0Bootproto=staticbroadcast=192.168.0.255Hwaddr=00:0c:29:25:96:a3#第1个IPipaddr=192.
SSH is a common way to log on to the Linux server, but for security reasons, sometimes we need to do some special SSH processing, this article records the author has done some changes for everyone's reference.
First, modify the SSH port
SSH
1, CHFN Modify the user information tools;
CHFN This tool is mainly used to change the user's full name, office address, telephone and so on;
CHFN [F full-name] [-O Office] [-P office-phone] [-H home-phone] [-u] [-v] [username]
The easiest way to
It is believed that many system administrators may have encountered this situation, using a login to a server, use the free command to view memory, but found that the swap partition is occupied. So exactly what process is taking up this part of the
Linux Xmodmap Modify keyboard mappings Caps_lock and super_l swaps
Change the awesome window manager to go. Because the unity of Ubuntu is still not very stable. Occasionally stuck for half a day, can not stand decisive will once awesome. It's
Through this server, so that intranet users can access the Internet, here we use the FreeBSD with the bind to achieve DNS resolution, in fact, many DNS on the Internet use this software. The basic procedure is as follows:◇The DNS parent domain
Disc Yum Source:In the case of no network:Mount Disc: Mkdir/mnt/cdrom set up mount pointMount/dev/cdrom/mnt/cdrom Mounting DiscsDisable the network Yum Source: Cd/etc/yum.repos.d/into the Yum source directoryMV Centos-base.repo Centos-base.repo.bak
Mainly include:Bin: The executable file is saved, the binary is the commandBoot: Boot directory, operating system startup load, including version kernel file, Greb boot program ...Dev: Hardware device files, such as hard disk, network card, sound
In the previous blog post, we have seen how Linux effectively uses 80x86 's segmented and paged hardware units to translate logical addresses into linear addresses, which are translated from linear to physical addresses. So how does our application
When the default installation is complete and you do not know the root user's password, how do I apply root permissions?(1) sudo command[Email protected]:~$ sudoThis allows you to enter the current administrator user password to get superuser
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
Several ways to see how many bits Linux isMethod/Step
Method One: getconf long_bitEnter the getconf long_bit command on the Linux terminalIf it is a 32-bit machine, the result is 32Linux Code[Email protected] ~]# getconf long_bit32If it is a
Desktop systems-Ubuntu, developers also like to use UbuntuServer--Rhel or Centos,rhel for moneyHigh security requirements-Decian or FreeBSDNeed to use database Advanced Services and e-mail network Applications-SUSE (more in Germany)Want to use new
Starting a project -- better than running a job, better than running a job
0.0The main purpose of this Blog is to start learning the Linux kernel and start with the third edition of the book "laruence's Linux private house dish". Currently, there
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