1. Introduction to SEDSed is an online editor that processes a single line of content at a time. When processing, the currently processed rows are stored in a temporary buffer called pattern space, followed by the SED command to process the contents
awk usage: awk ' pattern {action} 'Variable name MeaningARGC Number of command-line argumentsArgv command-line array of variable elementsFILENAME Current input file nameFNR The record number in the current fileFs Enter the field delimiter, which
1. View executed commands (history files)Executed commands can be selected at the terminal by pressing the UP and DOWN ARROW keys.Use the history command to list historical commands (save only the most recently used 1000 commands, save your home
The reason why select is less efficient than Epoll : Select is polling,Epoll is trigger, so it is efficient. Select : 1.socket quantity limit : socketfd_ Setsize decided , kernel default 32*32=1024. 2. Operating Restrictions : by
Nc-1.84-22.el6.x86_64The NC versions available on the system will vary, with a slightly different method of using the parameters1.-4 mandatory use of IPv42.-6 mandatory use of IPv63.-D allows socket communication to return debug information4.-D does
Beginner Linux, you need to understand the Linux standard directory structure first/
Root---Some of the core files used when starting Linux. such as operating system kernel, boot program grub and so on.
Home---Store personal files for ordinary
One, compression format1. The compression format includes the following formats: Gz,bz2,xz,zip,z2. compression tools and corresponding compression objectsNote:①XZ is the mainstream compression method, compression ratio, the speed is slightly slower;②
1. Linux-based This principle(1) A small program with a single purpose; Assemble a small program to complete a complex task(2) All documents(3) Try to avoid capturing the user interface(4) The configuration file is saved in plain text format2.
Configure the NetworkIfconfig command, you can view the IP address in Linux. Windows can be viewed in the command line with the ipconfig command.After executing the ifconfig command, the information of the NIC is displayed and the Lo,lo is the test
For Linux SA, server performance needs our special attention, including CPU, IO, memory and so on, the optimization of the system becomes crucial, here is reproduced a very good article about IO optimization for your reference and learning: first,
I/O scheduling algorithm plays the role of referee when competing disk I/O for each process. He asked for the order and timing of the requests to be optimally handled in order to achieve the best possible overall I/O performance. There are 4
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again.Immediately after the watch you want to run the
Use PAM to integrate OpenLDAP for Linux unified management system users
Linux-PAM is a plug-in authentication module and is the preferred user authentication method for Linux operating systems. OpenLDAP is a Lightweight Directory Access Protocol and
Experience containers in libvirt
Libvirt is a general virtualization framework that supports xen, kvm, and lxc Virtualization Technologies.
Set LXC to default (qemu by default)
Export LIBVIRT_DEFAULT_URI = lxc :///
Virsh-c lxc: // can be
Install Ganglia on Ubuntu 14.04 Server
Ganglia is a cross-platform, scalable, distributed monitoring system in high-performance computing systems, such as clusters and grids. It is based on hierarchical design and is widely used technologies such as
Nginx compilation supports Tcp_wrappers
Tcp wrappers: Transmission Control Protocol (TCP) Wrappers provides enhanced security for services generated by inetd. Tcp wrappers is a replacement method for using/etc/inetd. sec. TCP Wrappers provides
How to install LNMP (Nginx + PHP + MySQL) on CentOS 7)
Nginx is a free, open-source, and efficient HTTP server. Nginx is known for its stability, rich functions, simple structure, and low resource consumption. This tutorial demonstrates how to
Sqoop1.4.4 exploring native incremental import features
Original ideasTo implement incremental import, you do not need to use the native incremental feature of Sqoop. You only need to use shell scripts to generate a fixed time range based on the
High-concurrency website Solutions
After the system is officially launched, it will certainly face a large number of user access and high-concurrency requests at various levels, therefore, we will adopt high-performance servers, high-performance
Install and configure the LAMP environment in CentOS 6.4
System Environment: CentOS 6.4
Software source package version:
Httpd-2.4.10Php-5.4.32Mysql-5.5.39
I. Compile and install apache2.4
1. download the required software source code package and
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