Awk of data processing scripts

1. awk is suitable for multi-column matching. it may be better if you use sed to match individual strings. 2. it is best to use () inclusion to separate awk for forward and reverse matching to avoid an error. 3. pay attention to matching a column !~

Tail multiple files at the same time

A common tail command can only view the output of one file. Save the following content as multail. sh #! /Bin/shfunctionclean () {# echo $ @; # forfilein & quot ;@ @ & quot; dops-ef | grep $ file | grep-vgrep | awk & amp; #39; {print a common tail

Set up LAMP in Linux

1 & gt; CentOSyuminstallmysqlmysql-serverchkconfig -- levels235mysqldonetcinitdmysqldstartmysql_secure_installationyuminstallhttpdchkconfig -- levels23 1> CentOS Yum install mysql-serverChkconfig -- levels 235 mysqld on /Etc/init. d/mysqld

Configure NFS in Ubuntu

1 deploy NFSServer side 11 install nfs-kernel-serversudoapt-getinstallnfs-kernel-server12 configure etchostsdenyvietchostsdeny add content in the file NFSDAEMONSportmap: ALLlockd: ALLmount 1. deploy NFS Server side 1.1 install nfs-kernel-server Sudo

Build pptpvpnserver using fedora

1 first download the pptpd source code from sourceforge http: sourceforgenetprojectspoptopfiles? Source = navbar2: compile the source code configure & amp; make & amp; makeinstall3. 1. first download the pptpd source code from

Chapter 6 of linuxshell programming guide ------ control flow structure

Before writing the correct script, let's talk about the exit status. An exit status is returned when any command is running. If you want to observe the exit status, use the final status command: $ echo $? There are four major exit statuses. Two

Introduction and use of tmpfs in LINUX

Tmpfs introduces tmpfs as a virtual memory file system, rather than a block device. It is a memory-based file system. when you create a file system, you do not need to use mkfs to initialize it. The biggest feature is that its storage space is in VM

View hardware information in linux

I. CPU-related 1 CPU hardware information [@ 125opt] catproccpuinfoprocessor: 0vendor_id: GenuineIntelcpufamily: 6 model: 45mod I. CPU-related 1. CPU hardware information [@ 125 opt] # cat/proc/cpuinfo Processor: 0 Vendor_id: GenuineIntel Cpu family:

Linux Nic binding implementation

Authorization, allowingincreasedbandwidthandredundancyLet & 039; sassumewehavetwonetworkinterfaces (NIC channel bonding allows multiple network cards to act as one, allowing increased bandwidth and redundancy. let's assume we have two network

[Use the linux concurrent command parallel to speed up text file processing]-it turned out to be a pitfall.

1, see an article above oschina how to use multi-core CPU to accelerate your Linux Command & mdash; awk, sed, bzip2, grep, wc and other http: wwwoschinanetnews45477use-cpu-cores-linux-commands systems use Redhat5parall 1. see an article on

Chapter 6 of linuxshell programming guide ------ shell function 1

When selecting from the menu, you must enter the enter key after selection or Display & ldquo; pressanykeytocontinue & rdquo ;. You can use the dd command to solve the problem of not typing a carriage return to send the strike key sequence. Dd

Linux disk and file system management 5 ---- compression and packaging of Linux files and file systems

The purpose and technology of a compressed file 1 currently our computer uses byte for measurement, but in fact the smallest unit of measurement of the computer is bit. We know that 1 byte = 8bit2 in simple terms, there will be a lot of & ldquo;

How to use linux

Many of my friends installed Linux and looked at the brand new menu style and unfamiliar programs, and suddenly their heads were empty (especially when the system did not install Chinese language support). I don't know what to do, so a strong idea

Centos-6.3-x86_64minimal mini edition installation notes-system initialization

Centosminimal features: small, pure, fast to install, fast to start, suitable for automatic server installation deployment download Image: http: wwwcentosorg1, modify the host name vietcsysconfignetworking = yesHOSTNAME = wwwGATEWAY = 19216 Centos

Linux study notes --

Vi undo redo on forward and backward press u in vi to undo an operation u undo the previous operation Ctrl & amp; 43; r indicates that the command mode is enabled by default when the previous undo operation is started: Move the cursor with h (left)

[Linux] shutdown and restart commands

Linux has the following shutdown and restart commands: shutdown, reboot, halt, and poweroff. What are the differences between them? Shutdown-the recommended command shutdown is the most common and secure command for shutdown and restart. it will

Centos-6.3-x86_64minimal mini edition installation notes-Java

1, yum install jdk16yumlistjava-160-openjdk * yuminstalljava-160-openjdkx86_64-y download jdkwgethttp: downloadoraclecomotn-pubjavajdk7u13-b20jdk-7u13-1, yum install jdk1.6 # yum list java-1.6.0-openjdk. * # yum install java-1.6.0-openjdk.x86_64-y

[Linux] account management

When a user logs on to Linux, Linux will perform the following checks: 1) match the user name entered in the etcpasswd file to obtain the UID and GID of the user name (where GID and etcgroup are associated), Home directory, and Shell settings 2)

[Linux] file Time attribute and touch Command

Linux files have three time attributes: 1) mtime: The last modification time of the file content; 2) ctime: the time when the file status changes, such as permission and attribute changes. 3) atime: the time when the file content is accessed, such

Centosvps Modification time: not synchronized in time zone: Ultimate Solution

Because the first time I used VPS in the hyper-v architecture in China, I had to specify whether to install windows or centos before I bought it. because I had a re-installed panel, I am really suffering from debian, various minor problems

Total Pages: 2732 1 .... 1056 1057 1058 1059 1060 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.