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 ------ quotation marks

The previous chapter describes the variables and replacement operations. The most common mistake in performing variable replacement in a script is the reference error. It is very important to reference in the command line. Here, only the reference

RH436 XFS file system

XFS file system 1. create an XFS file system 1. install 2. & amp; 26684; Mount 2. expand the online extension of the XFS file system, no need to uninstall III. maintenance of XFS file system 1. file creation 2. View fragment 3. fragment 4. After

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

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

Linuxshell programming guide ------ shell tool

When a user logs on, the system executes the etcprofile file. the root user does not want other common users to interrupt the process. He usually blocks signals 1, 2, 3, and 15 by setting traps, and then re-opens these signals when the user reads

View and modify IP addresses in RedHat

First, view the current machine Nic IP1 display the currently started network interface command: ifconfig2 view all current network interface command: ifconfig-a3 view the specified network interface command: ifconfigeth0 IP address modification in

Chapter 6 of linuxshell programming guide ------ command execution sequence

When executing a command, it sometimes depends on whether the previous command is successfully executed. For example, assume that you want to copy all the files in a directory to another directory, and then delete all the files in the source

Basic Linux operations 9 ----- understanding and learning bash

Classification: Linux_Linux basic operations 2013-12-1820: 43117 people read Comments (0) add to favorites report 1 understand bash this shell1 manages the entire computer hardware is actually the operating system kernel, this kernel needs to be

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 service management and firewall

I. linux operating systems are divided into independent services and non-independent services. The independent service script is placed under etcinitd. I. linux operating systems are divided into independent services and non-independent services.

Ubuntu notes ------ install ubuntu12.04 (64-bit) in win7)

1) first, partition the disk. right-click the disk on the computer and choose "manage"> "Disk Management" () to install the hard disk allocated by Ubuntu. The size of the disk should be (20 GB or above) and not be too small. 1) first, right-click

Run the Linux command-nohup & amp;

In LinuxUnix, only the daemon can continue to run without the terminal. when a common process closes the terminal, it exits because it receives the SIGHUP signal (suspended signal. When In Linux/Unix, only the daemon can continue to run without the

Linux commands (what does the abbreviation mean)

Bin = BINaries ----- binary dev = DEVices ----- device etc = ETCetera ----- such as this bin = BINaries ----- binary /Dev = DEVices ----- device /Etc = etce----- ----- and so on /Lib = LIBrary /Proc = PROCesses /Sbin = Superuser BINaries /Tmp =

Total Pages: 2732 1 .... 1200 1201 1202 1203 1204 .... 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.