Step 1 download the kernel source code
Go to http://www.kernel.org/download kernel source code
Step 2 find the appropriate configuration file
You can use the configuration file I gave you to rename it as. config and put it in the source code root
File # Include
Function prototype Int getopt_long (INT argc, char * const argv [], const char * optstring, const struct option * longopts, int * longindex );
Function Description Getopt is used to parse command line option parameters. Getopt_long
1. The terminal locks CTL + S and unlocks CTL + q
2. Monitor System message tail-F/var/log/messages
3. Compress tar-cvzf X. tgz dirname
Decompress tar-xvzf X. tgz
Tar xvfj example.tar.bz2
Tar xvfz example.tar.gz
Tar xvfz example. tgz
Tar xvf example.
Compile a kernel module that can be loaded in Linux 2.6 kernel
By:
Wu Yin
Date:
2007-05-18
Email:
Lazy_fox # msn.com
Homepage:
Http://blog.csdn.net/wooin
Link:
Here's a list of 10 commands that may come handy when using the command line in Linux.
Search for all files modified in the last n days containing a specific text in their name
find DIR -mtime -N -name "*TEXT*"
For example:
find ~ -mtime -5 -name
In ubuntu, a process is terminated or a running program is terminated by kill, killall, pkill, and xkill.
-------------------------------------------------------------------Let's take a look at two examples:
Example 1: end a program, such as
Select is still important in socket programming, but it is not very popular for beginners of socket programming, they are just used to writing blocking programs such as connect, accept, Recv, or recvfrom (the so-called blocking method block, as the
In the process of device access, some manufacturers' sdks support compiling in Windows and Linux. Therefore, versions must be differentiated during the encoding process. For different platforms to use different interfaces, the following is my
As you can see, the top-level makefile contains the scripts/kbuild. include file, which defines a large number of functions and variables for the top-level makefile and other makefile files.
The first line of the makefile on the top layer contains
Description
Popen ()The function starts a process by creating an MPS queue and calls shell. because the pipeline is defined as one-way, the type parameter can only be defined as read-only or write-only. It cannot be both, and the result stream is
For Maven installation, see my previous blog: Building Maven in Linux
1. Download nexus
Nexus official download, the latest version download: nexus-2.4.0-09-bundle.tar.gz
Nexus war download: nexus-2.4.0-09.war
2. Install nexus
(1) Create an
Use Bluetooth in Linux
Today we will introduce how to use Bluetooth through commands in Linux:
Because my laptop does not have bluetooth, I bought a Bluetooth adapter for the USB interface. Run the following command to open it to our Bluetooth
Mounting and detaching Linux Devices
Before mounting the device, check the device number and type with sudo fdisk-L!
Device Names in Linux are usually in the/dev directory, and the names of these devices are all rule-based, such
The slob allocation object size is selected from the three links.
Static list_head (free_slob_small );
Static list_head (free_slob_medium );
Static list_head (free_slob_large );
For objects smaller than 256 bytes, slob will be searched from the
The main code of the Linux Startup entry is the kernel_entry function in the arch/MIPS/kernel/head. s file, which appears in Assembly form.
I mainly did the following:
1. Clear BSS segments 0
2. assign values to global variables for parameters
Http://www.cnblogs.com/tibetanmastiff/archive/2011/10/10/2205799.html
Scenario:
According to Apache's working method, the pmap command is used to determine the memory usage details of an httpd process:
For example:
1. view how to use
1. the mount point must be a directory. 2. A partition is mounted to an existing Directory. The directory cannot be empty, but the contents in the directory are unavailable.This is also true for mounting file systems created by other operating
Document directory
I. WebLogic creates a domain
Under the domain directory/servers/adminserver path
Log on with a WebLogic account (corresponding to the account used to create the domain
1. Download the installation packageWget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.2.tgzDecompress the package after the download is complete.Tar zxf mongodb-linux-i686-1.8.2.tgz 2. Installation preparationMove MongoDB to
1. Check the Linux version: lsb_release-.
2. Get the current kernel name and other information: uname-
3. Check all hosts files under the folder and force Delete: Find./-name "*. MP3" | xargs Rm-RF
4. Search for the hostnames word in all common
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