System call: The user state process to the kernel, to implement the user-state process calls the hardware Device function or interrupt;Advantages: Making programming easier, freeing users from learning the low-level programming features of hardware
QuotaFor WWW server, for example: the capacity limit for everyone's web space!For mail server, for example: The message space limit for everyone.For file server, for example: Maximum available network hard disk space for everyone (most common in a
Restart Xwindows:alt+ctrl+backspace
Inter-terminal switching: Ctrl+alt+f1~f6 tty1-6, F7 for Xwindows
Root prompt: # Normal User: $
Language of environment variables: $LANG, $LANG =en_us
Man in code meaning: Man # command, man's
Name: MoreDescription: SimilarCat, but will be a page-by-page display to facilitate the user to read, and the most basic instruction is to press the blank key (space) on the next page, press the B key will go back to a page, and there is the
1: PartitioningThere are only four primary partitionsLogical partitions are part of an extended partition starting from 52:linux Common CommandsCommand = command [options] [parameters]-rw-r--R--. (-file, D directory l soft link file). is ACL
/ETC/PASSWD file Structure1. Account Name:It's an account! Used to correspond to the UID. For example, root UID corresponds to 0 (third field);2. Password:The password for the early Unix system is placed on this field! But because this file is
In practical applications an application needs to process multiple signals, and for convenience, the Linux system introduces the concept of a signal set. The signal set consists of a data type of multiple signals sigset_t. You can use the following
These two days in dealing with a corresponding problem, a system wants to implement the command mutex, for example, if I open two command windows, respectively, in these two windows to run two operations, these operations are mutually exclusive,
Lab Environment:centos7.1VMware worksation 11Laboratory Equipment:Kick.test.com Service side (KICKSTART+DHCP+DNS+VSFTP+TFTP)Client clients (1G memory)Note the memory minimum of 1G, otherwise return the error of out of memory.Required services:1.DHCP2
In school, in high schools, the most horrible thing is not to operate according to the standard command, resulting in the use of the wrong command to cause serious consequences. Some of the commonly used shutdown/Restart commands under Linux are
Involves fast cursor movement under the Linux command line, command editing, post-editing execution history commands, Bang (!) commands, control commands, and so on. Make basher more efficient.Description
Ctrl–k: Hold down the Ctrl key
1. Why should I write this article?Always want to learn more about the use of Linux, so the family's notebook installed Linux system, but to build their own system for the development of a suitable environment is really a laborious thing, and will
In order to relieve the stress of memory usage, there are mechanisms to trigger dirty page writeback in addition to the user manually writing back the dirty pages.Let's say set a timer and write back regularly to pages that have been dirty for a
UDP Broadcast CommunicationUnicast: Single-to- one , TCP and UDP can be donebroadcast : Only UDP is complete. The sender sends only one packet when broadcasting, but the switch on the network forwards the broadcast packet to all ports by default.
PS: Brother Bird's third edition of private dishes printing problemsThe above meaning: D refers to the directoryFile Owner permissions: R readable w writable, X, can run,Permissions for the same group: R readable, this paragraph has a-number, which
Linux soft connection and hard link
Soft link
In Linux, soft links are like shortcuts in windows.
Create soft link format: full path of ln-s source file full path of Soft link
Operation Demonstration:
Hard Link
Unlike a soft connection, a
Learn the Linux encoding style and the Linux encoding Style
For encoding, each coders may have their own style. Many people may not care about the encoding style at all, because the final compilation of the target code by the compiler will not be
Heartbeat achieves Nginx High Availability
Introduction
Heartbeat is a famous HA project. After 3.0, Heartbeat was split into two separate projects: Heartbeat and Pacemaker. In the future development of Pacemaker, Corosync is used as the message
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