Multiple methods of awk array sorting

Awk array sorting is an associated array because of the awk array. For... In loop output, the unordered array is printed by default. [Chengmo @ localhost ~] $ Awk 'in in {info = "this is a test"; split (info, tA, ""); for (k in tA) {print k, tA [k] ;

Postfix: Build a pure Mail forwarding Server

Postfix to build a pure Mail forwarding Server 1) install dns aptitude install bind9 dnsutils 2) Configure dns a) named. conf. local zone "test.com" {type master; file "/etc/bind/test.com" ;}; B) dgnc. om $ TTL 604800 @ in soa @ mail203.local. (20130

Linux cluster lvs practice

Linux cluster lvs Linux cluster-LVS (DR) + HeartbeatLVS + Heartbeat LVS1 and LVS2 perform the same job, so the configuration script is the same. The only difference is that the heartbeat configuration file ha. cf has different heartbeat addresses.

Script: Make sftp look like ftp

Script: Make sftp look like ftp. The purpose of this script is to make the sftp command look exactly the same as ftp at startup. Is to enter the user, remote address and other content. 01 #! /Bin/sh02 03 # mysftp. sh -- make sftp start up more like

Find-exec in linux

The find-exec command for linux has recently been used to delete some folders in a directory. It is actually a folder named "CVS". Anyone who has used CVS knows that CVS creates a folder named CVS at each level of the Directory, containing

Brief Analysis of Operation strings

An analysis of the number of string operations supported by Bash is surprising. unfortunately, these tools lack unified standards. some are subset of parameter replacement, while others are affected by the UNIX expr command. this leads to

Install and configure subversion in linux

Preface to the installation and configuration of subversion in linux: svn (subversion) is a version management tool that has emerged in recent years and is the successor of cvs. Currently, most open-source software uses svn as the code version

Tar command instance in linux

In linux, tar command instance tar packaging is a very important command for server O & M, because many data backups need to be packaged first and then transmitted in scp or rsync, here we will introduce the basic commands of tar to help you review

Shell programming review notes-variables, environment, and quotation marks

Shell programming review notes-variables, environments, and quotation mark variables can be roughly divided into four categories: local variables, environment variables, location variables, and special variables. The latter two are read-only

Debian old source synchronization script

The old Debian source synchronization script Debian Lenny source is officially archived, making many servers that cannot update the system unavailable. archive.debian.org is too slow to access and cannot write a script to synchronize lenny source.

Linux FAQ 1

Linux FAQ 1: # is used in Shell scripts to express comments, which is equivalent to the C language // comments. But if # is at the beginning of the first line and is #! (Shebang) is an exception. It indicates that the script uses the specified

Linux FAQ 3, sed

In linux, I learned about sed. 1. sed stands for Stream Editor. It is widely used as a filter in Shell scripts and makefiles, that is, the output of the previous program is introduced into the sed input, and the output is converted into another

Linux software installation and uninstallation Summary

Linux software installation and uninstallation summary Linux software installation has different installation methods due to different Linux branches. Several common installation methods are introduced. 1. for Linux systems with their own

Normal user is promoted to root user

How can a common user become a root user after being promoted to a root user using a common user to log on to Linux? Perform the following operations: sudo gedit/etc/passwd, find the section describing the user, and change its id to 0. Save and log

Gnuplot Study Notes

Gnuplot learning notes install gnuplot-x11 (can be output to X11) help $ gnuplot> help some_command example # output set term postscript eps enhanced size 3.7, 5 # enhanced use enhanced text, the size (in) of the size chart. The default value of

Record: Install scrapy and pywebkitgtk

Record: Install scrapy and pywebkitgtk. I installed ubuntu13.04 because scrapy depends on python, so first install python development kit [plain] sudo apt-get install python-dev install easy_install [plain] wget-q

How to Install Cacti on Ubuntu

How to Install Cacti on Ubuntu Installation prerequisiteThe following packages are required to run Cacti properly Apache2 [html] # apt-get install apache2 # apt-get install php5 php5-cli php5-mysql MYSQL [html] # apt-get install mysql-server

Configure and install the Chinese Input Method (fcitx) in ubuntu locale)

If you do not need to talk much about the configuration and installation of the Chinese Input Method (fcitx) in ubuntu locale, you will know the exercises and follow the steps below: 1. install the Chinese package (different versions, the package

Nginx webdav Configuration

For nginx webdav configuration, you can see that webdav is used to set up a git server in http mode to make it writable. In fact, the use of webdav is still very limited, which is not supported by general browsers. Special clients are required, and

The process of adding a physical disk to GPFS

Process 1 of adding a physical disk to GPFS. Create a temporary file [root @ sdcmpdb1 ~]. # Vi/tmp/nsdprofile2 emcpoweri: dataAndMetadata: emcpowerj: dataAndMetadata: emcpowerk: dataAndMetadata: emcpowerl: dataAndMetadata: emcpowerm: dataAndMetadata:

Total Pages: 5467 1 .... 3472 3473 3474 3475 3476 .... 5467 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.