Makefile example:
Test: Add. O sub. ogcc-O test add. O sub. oadd. o: Add. C test. hgcc-C add. csub. o: sub. C test. hgcc-c sub. c clean: Rm-RF testrm-RF *. O
Format:
Name of the file to be generated (including the suffix): List of dependent
I just saw someone discussing whether to learn Linux or wince. I just added an article to my favorites.ArticleFor details, refer...
In fact, learning is not important. Learning well is fundamental. I hope the following will help you make a
1. Pipeline overview and related API applications
1.1 key concepts related to pipelines
As one of the first Unix IPC formats supported by Linux, pipelines have the following features:
The pipeline is half-duplex, and data can only flow in one
Linux may not work in recent years... It is an easy-to-use and open system. Anyone can join the two systems. This is an option that cannot be avoided, although it is also the success of all new technologies, this spirit is worth mentioning. But is
Analysis of Linux boot process1. System guiding processFirmware firmware (CMOS/BIOS) Post power-on self-checkBootstrap loader (grub) loads the kernelLoad kernel driver hardwareStart Process initRead the execution configuration
The ID field of the IP header is used to identify different packets (instead of fragments, all parts of a packet have the same ID)
This field only occupies 16 bits, so it will be quickly bypassed on a fast network, which may cause confusion in IP
Use crosstool to create an arm-Linux cross-compilation chain 4.1.0
Crosstool is a good software that can easily compile your own cross-compiling environment.
Crosstool-0.43: http://kegel.com/crosstool/crosstool-0.43.tar.gzwe want to compile the
Suppose there are two Linux servers A and B. Log on to B from a through SSH.The console interface of server a is as follows:A @ A: SSH-keygen-T RSAA @ A: SSH-copy-ID-D ~ /. Ssh/id_rsa.pud B @192.168.2.5
B: The account used to log on to server B.
Back to global directory
Article 2.
------------------------------------------------------
7. Disk operations... 118. system operation... 129. network problems... 1310. Shell operation... 1411. Other commands... 1412. Frequently Used buttons... 1513
If it is a binary Package released by someone else, the executable files are usually installed under/usr/bin. If it is installed from the source code, the executable files are usually under/usr/local/bin, unless the installation location is
Socket
Windows
Linux
Header file
Winsock. h/winsock2.h
Sys/socket. h error handling: errno. h
Socket Type
Socket
Int
Initialization
Wsastartup is required for Windows.Wsadata; err =
The Chinese display is very simple, that is, a zhcon software can be installed, the operation is as follows:
Yum install zhcon
Usage:
Enter zhcon in the terminal, or use the full path. Enter:
Which zhcon can view the complete path,
CTRL + D to close
Network Programming in Linux
XuybEmail: bai_xy@21cn.comThis article introduces common socket programming functions in Linux, General socket programming rules, precautions for programming of customer/Server models, and solutions to common problems,
I have read "Advanced Programming for UNIX environments" before, but I have no in-depth understanding and learning about the concept of File locks. Recently, I encountered a deadlock when operating MySQL databases. By the way, I think of File locks
Struct hostent {char * h_name;/* Host's official domain name */Char ** h_aliases;/* an array of host aliases ending with null */INT h_addrtype; /* return address type, in the Internet environment is the AF-INET */INT h_length;/* The Byte Length of
// Create multiple threads # include # include # include # include # include pthread_t ntid; void printids (const char * s) {pid_tpid; pthread_ttid; pid = getpid (); tid = pthread_self (); printf ("% s PID % u TID % u (0x % x) \ n", S,
1: The earliest monitoring module used by Oracle: Watchdog
Http://blog.csdn.net/wyzxg/archive/2010/05/11/5579415.aspx
The parameters ........
2: From oracle9.2 to Oracle 11.1, we recommend that you use an I/O fencing module: hangcheck-timer when
Similar to Windows resource manager, it dynamically displays the usage of processes, memory, and CPU.
Top-D 1
PS aux | more
PS sorting
PS aux | sort-K4, 4n
PS auxw -- Sort = RSS
PS auxw -- Sort = % CPU
Sort PS aux-Sort =-uid in descending order
For Linux, you often need to check the traffic in Linux. The following three methods can be used to check the current traffic. note: I think nload is very broken. for more information about the installation method, see another article on RPM
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