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
The Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or some difference from the DF command.1. Command format:du [Options] [file]2. Command
First week summary1. Stored program computer + function call stack + interrupt mechanism2. Stack: C language Program run time must be a record call path and parameter space (function call frame/provide local variable/pass parameter/save return
Before mentioning the Interprocess communication pipeline, Message Queuing, semaphore, and then where the semaphore is a PV operation, the manipulated is a shared resource. In the IPC module we mentioned, Message Queuing is for the data unit
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
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
------------------------------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
First Category:
I/o-bound: Frequent I/O, and it takes a lot of time to wait for I/O completion
Cpu-bound: computationally dense, requiring a lot of CPU time to perform operations
Second Category:
Batch process: Do not need
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
Key words
Write
Wall
Last
Lastlog
Traceroute
Netstat
Mount
1.write
This command can send messages to all online users Example: Accept Message User: Press ENTER to exit 2.wall
Send messages to all online
Shared memory is to request a piece of space in memory, this space can have more than one process to have, its request space must be 4096 integer times, can read and write data, its efficiency is the system V version of the most efficient
Eighth week of Linux course experiment and summaryExperiment and study summary1. Implementation of process switching in the kernelProcess switching in Linux is a common operation that is implemented in the kernel.There are three opportunities to
ctrl + a switch to the command line start this operation is the same as the home implementation, but home in some UNIX environment can not be used, it is possible to use this combination; Vim under Linux, this is also valid; In many of the Windows
Details of Bash programming under Linux (Part Two)Condition Judgment in bash:Condition test Type: integer, character, fileExpressions for Conditional tests:[Form] The whole number of sentences.[[form]] the entire number of sentences.Test table
scheduling timing of processes and switching of processesThe principle of operating system describes a large number of process scheduling algorithms, these algorithms from the perspective of implementation is only to choose a new process from the
Introduction and classification system operating level
Run Level
meaning
0
Shutdown
1
Single-user mode, which can be imagined as a safe mode for Windows, primarily for system
Use awk to format output text
Note: This is not an awk entry-level article, but an example.
Awk draws on c syntax, so awk retains traces of c language in many places, such as printf statement; for, if syntax structure, etc.Introduction
In short, AWK
IP configuration in CentOS and CentOSIP
1. Open the command window and switch to the root account: su-root.
2. Go to the directory:/etc/sysconfig/network-scripts, open the file vi ifcfg-eth0
3. Modify parameters:
# Name DEVICE = eth0 # physical
File comparison operator, comparison operator
File comparison operator-E filename if filename exists, it is true [-e/var/log/syslog]-D filename if filename is a directory, it is true [-d/tmp/mydir]-F filename if filename is a regular file, it is
Install Zabbix 2.4.5 in CentOS source codeZabbix Introduction
Zabbix is an enterprise-level open-source solution that provides distributed system monitoring and network monitoring functions based on the WEB interface. Zabbix can monitor various
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