1. Introduction
When using VI, something needs to replace the string
The basic substitution: s/vivian/sky/replaces current line first Vivian for Sky: S/vivian/sky/g replaces current line all Vivian for Sky: N, $s/vivian/sky/replaces the first n
How to generate Linux shadow Password/linux generate Shadow Password (CentOS 5 test pass)
Root information in/etc/shadow: Root:$1$nnxlnqur$eqqtkzex/xp2yvvdyb6jo.:15225:0:99999:7:: Where, "$1$nnxlnqur$eqqtkzex/ Xp2yvvdyb6jo. "Is the encrypted root
Summary
There are 5 main file lookup commands in Linux: Find, locate, Whereis, which, type.Find is the most powerful, but time-consuming.Locate can be seen as a compact version of Find, but it's very fast.The use of Whereis, which and type is
Three kinds of scheduling methods for Linux kernel:1,sched_other time-sharing scheduling strategy,2,sched_fifo Real-time scheduling strategy, first come first service3,SCHED_RR Real-time scheduling strategy, time slice rotation
The process of
By the LDD3, you have to put down the examples code. Otherwise, we can't go on.
So let's start with an example,Localhost:/home/xx/examples/lddbus#insmod Lddbus.koNow look at the/sys/bus/at this time more than a folder LDD. The file inside is like
Linux/unix reads all file names under the specified directory call the system function Opendir () and readdir to traverse all the files under a specified directory under Linux/unix and output the file name. The implementation code is as
General Linux Software startup commands are in the current project Bin directory
(script commands cannot be performed correctly refer to ZK notes--windows Environment run ZK modify startup script parameters)
ZK Server command:
1, start ZK sh
If you are installing Linux in the process of choosing Chinese, may omit steps 1, 2, if you first installed the English environment, and then hope that it supports Chinese, you can 1, 2 steps
1. First install Chinese pack in Linux
Install
The kernel has finally been edited and upgraded, and it was intended to continue to learn. But in the wife's encouragement, feel or stop to summarize the better, so that they are helpful to others.
0. Environment Introduction
I installed the Ubuntu-
Description
Previously used eclipse to debug the kernel, and recently want to debug the kernel with GDB, or more accustomed to using command operations, but in the build debug kernel gdb and qemu process, encountered a problem, think of a lot of
First download the source code:Bind-9.5.0.tar.gz Source: ftp://ftp.isc.org/isc/bind9/9.5.0/bind-9.5.0.tar.gzOpenSSL Source: http://www.openssl.org/1. OpenSSL support is required to compile bind. So compile OpenSSL first../config no-asm--prefix=/home/
Unix
The predecessor of Unix was Multics, Bell Labs was involved in the development of the operating system, but Bell Labs decided to give up the plan because of the slow pace. Bell Labs engineers, Thompson and Ricky, developed Unix at the time. The
AWho: Query the current online users and sources;Groups: Query the group to which the user belongs, groups query the group to which the current user belongs, and groups the user name to inquire about the group to which the user belongs;ID: Query The
Steps:
One. Familiar with the basic way of debugging with GDB on common computer. See also: http://www.ibm.com/developerworks/linux/library/l-gdb/
Two. Download "GdB Quick Reference", 2 pieces of paper, printed out and put at hand for standby.
Three.
Linux User space link list dhlistCheungmine 2018-2-04
/** * dhlist.h *-deque list and hash list from Linux Kernel * * to Linux Kernel * for Windows and Linux * * mo Dified by Cheungmine * 2013-4, 2018-02-04/#ifndef _dh_list_h #define _DH_LIST_H
1. Find any directory in the Linux system and create a module file that conforms to the module structure: hello.c
#include //module_init () &module_exit related macros
#include //macros required by all modules
module_license ("GPL");
static int
first, the operating level of Linux
Linux Run Level: Default Run Level is 3 or 50--halt1--Single User mode2--multiuser mode, no NFS service3--multiuser mode with NFS service4--system retention level, not used5--x11, same 3, but using x
Solemn statement: Without my permission, not for commercial or non-commercial reprint and use, if necessary, please contact: yrj1978@hotmail.com
Actions for page table entries
In the case of the X86 architecture, in the Include/asm-x86/pgtable.h
Cross-compile Linphone [OSIP2, Ogg, Speex, ORTP (VoIP Open-source Software) (turn)] 2008-10-22 16:40
Linphone on Arm-linux (cross-compiling in host for target architecture)Compiler Linphone need the support of the library, which
int Sound::encode ()
{
File *fin,*fout1,*fout2,*fout3;//Three files pointer, Fin is a recorded audio file
Short in[frame_size];
Short out[frame_size];
float Input[frame_size];
Float output[frame_size];//set several buffers
Char cbits[200];
int
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