Head and tail are all data selected by the unit of behavior, head is taken out front, tail is taken out of the back.Head(remove the previous lines)1. Command format:Head [parameters] ... [File] ...2. Command parameters:-Q Hide file names-V Show file
First, the Linux Summary of kernel analysis(a) How the computer works1. Stored program Computer working model2. X86CPU Register: General Register, segment register, flag register, etc.3. Assembly Instructions for Computers(1) MOVL directive:
A summary of the nineth cycle of Linux kernel analysis, knowledge summary 1. How the computer works
Storage program Computer working model: von Neumann architecture
X86 Compilation Basics
Will change a simple C program to analyze
Summary of knowledge points in the Linux kernel Analysis 1. How does the computer work?Storage Program Computer Working modelX86 Compilation BasicsAssemble a simple C program to analyze its assembly instruction execution process2. How does the
Define subsequent command execution log output path in bash script
#!/bin/bashlogdir= ' Date +%f ' exec &>/tmp/logdir.log//This time defines the execution output log path for subsequent commands df-htop
For loop
Loops allow you to
The Linux system does not need to start sendmail similar tools.#!/bin/sh# create by jianglei. Yu#define configure filecheck_result () { if [ $1 != 0 ];then echo -e "\e[1,44m \e[0m " rm -fr /usr/local/msmtp/etc rm -fr
The/etc/skel directory in Linux (Skel is the abbreviation for skeleton, meaning bones, frames. ) is the directory used to store the new user profile, when we add a new user, all files in this directory are automatically copied to the newly added
Guide
In a local area network, each machine has a host name, easy to distinguish between host and host, so set the host name for each machine, with easy to remember the way to each other access. For example, we can be named according to the
First, the Select function is introducedThe Select function is used to notify you when a socket or a set of sockets has a signal, and the system provides a select function to implement a multiplexed input/output model, prototypes: #include
As we all know, root information exists under/ETC/PASSWD, the personal password exists under/etc/shadow, all group names exist/etc/group, so these three files are very important.Under the Linux system, we can view the properties of the file through "
CMake source Install as follows:0 CD ~1 wget https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz2 tar xvf cmake-3.5.2.tar.gzThis worked to me then:3 CD cmake-3.4.34 ./bootstrap --prefix=/usrThis step is critical, if you do not specify prefix, the
A detailed description of the top command:1. Top: Dynamic monitoring process.First line: Current system time: Up 4days: Duration after server startup. 5 User number of users on the current server; Load average: The average of three is less than
Linux disk and File system Basics (i)
MBR master boot record, total 512 bytesWhere 446 bytes represents the bootload system boot initiator
64 bytes represents a disk partition, and 16 bytes can identify a primary partition, and all
? Everything is a file creation system configuration swap partition (used as virtual memory) plus a single tree file file name view file type uname View system version bin binary binary file All users available system executable command binary file (
1, through the USB stick into the CentOS system, and then pull out the U disk.2. Enter grub into GRUB command line mode. #[[email protected]/]# Grub3. Enter Find/boot/grub/stage1 or Find/grub/stage1 (mine is this) #grub > find/boot/grub/stage1 or
------------------------------update-------------------------------------------------at irregular intervals1.Ubuntu shutdown: shutdown-h now shuts down (root user), Shutdown-h 10 10 minutes after auto power off, shutdown-c command cancel
Common commands
Ipconfig-view native IP, interface and other informationPing ip-ping remote server or terminalCD ~-Return to the root directoryCd.. Return to Parent DirectoryCd.. /.. Return to the top level two directoryCD
1. Application ScenarioIn Windows or Linux operating systems, when we start a Tomcat server, we often find that port 8080 is already in use, and we don't know how to stop the Tomcat server.2. Kill the process in window environment1, first find to
Common Linux Network commands and linux commands
1. tracepath
Tracepath traces the network path of the specified destination address and provides each hop on the path ). If your network is faulty or slow, tracepath can find out where the network is
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