One: Use the route command to add use the route command to add the route, the machine restarts or the network card restarts after the route is invalidated, method: //added to the host Route # route add –host 192.168.1.11 dev eth0 # route add
Strtok () Prototype:char * strtok (char *s, const char *delim);Function Description: Strtok () is used to split a string into fragments. The parameter S points to the string to be split, the parameter Delim is the split string, and when Strtok ()
1, the Linux command can be divided into internal commands and external commands:The built-in commands are memory-resident when the system is started, so the execution efficiency is high.The external command is the software function of the system,
Processor: The number of the logical processing cores in the system. For single-core processors. The class thinks it is its CPU number, and for multicore processors it can be a physical core or a virtual logical kernel using Hyper-threading
After you start learning Linux, don't think about it in the way that Windows works, because there are really big differences between them, such as the memory management mechanism, the process mechanism, and so on, so the idea of Windows is thrown
1#!/bin/Bash2 3#shell使用的熟练成都反映用户对Unix/how proficient Linux is used4 #shell There are two ways to execute commands: Interactive and batch processing5#常见的shell脚本解释器有bash,SH, CSH, etc.6#chmod+x./hello.SH#使脚本具有执行权限7#./hello.SH#执行脚本8 9 #交互输入Ten Echo
User-managed 2 Important files:/etc/passwd and /etc/shadow. The/etc/passwd file contains the user's information, which does not contain a password:each line in the passwd file represents a user, and each line is divided into 7 fields using ":" as
Before writing the text before a few words, RabbitMQ (Message Queuing) installation Let me spend a half a day! A full toss for 2 days, and finally write down this article summed up, in fact, is very simple, but you can not find the wrong link on the
(0) FolderInstalling Ubuntu's blood-vomiting experience under VMware0 Basic Learning Shell programmingThe magical magic of makefile under LinuxLinux debugging artifact--GDB10 minutes Learn the basic types of PythonLinux static link library and
Linux process Status: S (task_interruptible), interruptible sleep state.A process in this state is suspended because it waits for a certain event to occur (such as waiting for a socket connection, waiting for a semaphore). The TASK_STRUCT structure
1. Linux Boot sequenceBorrow an on-line image of the boot sequence, clear display boot sequence650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/98/CA/wKiom1lAqfehwysHAAAX-C54dW0110.png "title=" Linux boot order. png "alt="
1, first install the GIT software, installation environment is the CentOS 7.x cloud server. Use the command:# yum install git2. Set user name and mailbox (required):# git config--global user.name "Your name" # git config--global user.email "[email
1.1garbled solution appearsChange language
123
export.GB2312echo $LANGen_US.GB2312
The character set currently used by the system1. Echo $LANG2, look at your current remote connection tool use language (software
At some point, the boot level is the command line, but sometimes you need a desktop environment, but you need to use root permissions, very inconvenient.Workaround:Create a new. xinitrc file in a normal user's home directory,# VI. XINITRCThe
Special permissions on the Linux file systemSUID, SGID, StickyPermissionsR, W, XUser, group, otherSecurity contextPremises: The process has a group of owners and genera;(1) Any executable program file can be started as a process: depending on
Find a File IntroductionThere is a very important file (sources.list) but you forget where it is, you vaguely remember it in the/etc/directory, now you want to find out this file, and then set it to be accessible to you, but other users cannot
Special Permissions Set_uid
By default, under a newly installed Linux system, only one command has SET_UID special permissions.
650) this.width=650; "src=" Http://oqjg6c4c1.bkt.clouddn.com/201706090852_784.png "style="
Service side3 Types of services requiredDHCP + TFTP + vsftpTFTP provides guidance on why no other protocol is used for PXE booting because the NIC will only integrate TFTP to the way the service is written to the mirrorDHCP sends TFTP boot to other
User and group management commands and user group management commands
Command parameter description--------------------------------------------------------------------------------Useradd is used to create a new user.-D specifies the user's home
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