The main study today is the strengthening of the 5th day.such as multi-process server, peer-to-peer application of the chat program. Parent process Child processes send messages to each other. Wait a minute.Stream protocol-Sticky packGenerally, the
The Linux file comparison directive has two, Comm and diff, where Comm requires a sorted file. Diff does not have this requirement, the output of the diff is mainly used to indicate how a file can be modified to get the file two.
Comm
The
Linux Common commandsCommand:CopyCP hello.c/Copy from home directory to root directoryCp–r Test/Copy the Test folder from the home directory to the root directoryMV Long/ mobileChange file name mv hello.c hello1.cDelete File rm hello.cDelete
The less tool is also a tool for paging through files or other output, which is a very powerful tool for Linux to view the contents of a file. The usage of less is more resilient than more. In more, we have no way to turn front, can only look back,
command format and directory processing command lsCommand formatCommand format: command [-options] [parameters]Example: ls-la/etcDescription: 1) Individual command use does not follow this format2) When there are multiple options, it can be written
1. Enter/ETC/INIT.D2, the new file tomcat, the contents are as follows:#!/bin/sh# chkconfig:345 99 10# Description:auto-starts Tomcat#/etc/init.d/tomcat# Tomcat Auto-start# Source function library.#. /etc/init.d/functions# source Networking
ps-ef|grep local=no|grep-v grep|cut-c 9-15|xargs kill-9 Pipe Symbol "|" Used to separate two commands, the output from the left command of the pipe character is entered as the command to the right of the pipe. Let's talk about the connection with
Process: is an abstract concept in the operating system that indicates that a running program process has multiple attribute parameters: PID, PPID, UID, GID, and so on: Manually create aBackground Program, and throughKillKill it, the foreground
>
Correct result redirection
2>
Error result redirection
&>
Correct and Error Redirect all
>>
Additional, other >
The standard output is actually a display, such as when we
Trace analysis of the boot process of the Linux kernelWriter: Yang Guangxu No.: 20135233(* Original works reproduced please specify the source *)(Study course: "Linux kernel Analysis" MOOC course
Wrap up the Linux array today, and then basically get it done today.This will not be summed up for some time.Because the next step is to look at the awk array.And then we'll start learning something basic, like all kinds of file systems.or load
PHPclassgetmacaddr{var$return _array = Array ();//returns an array of strings with MAC addresses var$mac _addr; function getmacaddr ($os _type) {Switch(Strtolower ($os _type)) { Case "Linux": $ This-Forlinux ();
Linux (5) gcc and linuxgcc
GCC = gnu c Compiler. The following describes how to use it.
1 pre-processing)
$ Gcc-E-o hello. I hello. c
-E: stops after preprocessing.
2 compile (compiling)
$ Gcc-S-o hello. s hello. I
-S: stops compilation.
Linux CentOS-7.0 environment construction, linuxcentos-7.0This article is a graphic tutorial for beginners to install centos-7.I. Preface
Recently, to build a lab architecture, you need to learn about docker. Docker is completely dependent on the
Linux route, linuxroute
I. Introduction
The route command in Linux is used to display and operate the IP route table (show/manipulate the IP routing table ). To achieve communication between two different subnets, you need a router that connects
[Switch] Centos configuration yum source, centosyum Source
Reprinted from: http://blog.chinaunix.net/uid-23683795-id-3477603.html
Netease (163) yum source is one of the best yum sources in China. Both the speed and software version are very good.
Role of asmlinkage
This article Reprinted from: http://blog.chinaunix.net/uid-24945116-id-83893.html
Learning!
Asmlinkage is a macro used to keep parameters in the stack. BecauseFrom assembly language to C language code ParametersIs passed through
Modify the default Host Name of CentOS6.5 (root operation)
After the official CentOS6.5 image is installed, the default host name is localhost, which is inconvenient to manage and needs to be modified according to the actual situation.
Here I'm
Linux development Summary
1. Configuration File
You can see in out \ target \ product \ msm8909 \ obj \ KERNEL_OBJ \. config
# Operation is not set # CONFIG_MTD_UBI is not setCONFIG_DTC = yCONFIG_OF = y # Device Tree and Open Firmware
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