Using the awk compound expression in Linux

All along, we used simple expressions to check whether the conditions were matched. What if you want to use more than one expression to check for a particular condition? In this article, we'll look at how you can filter text and strings by

Methods of Linux Remote mount directory

Edit configuration file:/etc/exportsTo add a file authorization list:/home/www.111cn.net/data/127.0.0.1 (rw,no_root_squash,sync,anonuid=1525,anongid=1525) To start a service-side service:NFS ServicesService NFS Restart"If the service command is not

Using Ansible to bulk deploy zabbix_agent under Linux

More and more machines are being monitored over time, and the amount of data being stored will be more and more, and the response rate will be slower when the data is at a certain time; so we need to clean up some historical data. #!/bin/bash  

Linux command grep finds specific characters in the specified directory

grep lookup contains specific characters in the specified directory Instance Search all files in the/var/www/html directory, with files containing phpinfo characters, and show travel numbers Grep-rn phpinfo/var/www/html/* Note:-R is recursive

Linux sed multiple file bulk replacement strings

The company moved, several server IP also changed, so the server OTA application of a lot of files related to IP replaced by the current IP, this time you can use the SED command. To bulk find replacements in a directory: Sed is an online editor

Installation and usage of Axel in Linux

have been using this because sometimes the U.S. VPS wget command to download domestic files when the speed is too slow, so the use of Axel is still a good choice.1.CentOS installation of Axel 32-bit CentOS execute the following command Wget-c http:

Mydumper in Linux libmysqlclient_16 not defined how to solve

The following error occurred while testing the Mydumper compression feature (-C) yesterday: The code is as follows Copy Code [Root@liufofu backup]# mydumper-h localhost-u root-p tiger-c-O./liufofu/-B

Compiler Nginx Support Tcp_wrappers method in Linux

The TCP wrappers:transmission Control Protocol (TCP) wrappers provides enhanced security for services generated by inetd. TCP Wrappers is a way to replace the use of/etc/inetd.sec. TCP Wrappers provides protection against spoofing of host names and

Linux Setup system services boot Chkconfig command

First understand the Chkconfig command. Command format Chkconfig--list [service name]Chkconfig--level [0123456] Service name On|off which parameter meaning: –list: To view the list of system services, the service name is optional.–level: Set the

Iptables firewall general settings in Linux

When a new Linux server is configured, if you need to configure iptables, you are typically configured with the following command: First, install and start the firewall [Root@linux ~]#/etc/init.d/iptables start When we use Iptables to add rules,

Set file permissions under Linux

File permissions:First step: Create a user at the terminalAdd User Useradd User nameSet Password passwd user nameCreate a A1,A2 of two users with the two commands above.Step Two: Create a file using the administrator account in the root

Linux system Boot Process detailed

Linux system Boot Process detailedstart the first step --load the BIOSWhen you turn on the computer, the computer loads the BIOS information first, and the BIOS information is so important that the computer must find it at the very beginning. This

Linux kernel detailed

Linux kernel Management: A basic understanding of the kernelThe operating system we are talking about is primarily the kernelThe above features do not involve the implementation of text editing, implementation of word processing, there is no service

Deployment and installation of KVM under Linux

first, look at CPU is supported KVMGREP-E-o ' VMX|SVM '/proc/cpuinforesults show VMX Express Support Second, The package required to install the KVM1.[[email protected] ~] #yum install KVM KMOD-KVM qemu kvm-qemu-img virt-viewerVirt-manager

Linux Configuration JDK Environment variables

Jdk-8u111-linux-x64.tar.gz This is a compressed package of JDK in Linux system.Delete command:RM-FR Directory Name "This command is mandatory to delete the meaning of"To modify a character encoding set:Export LANG=ZH_CN. UTF-8To view the character

Linux VI command detailed 2

Just started to learn to use Linux, the VI command is not very familiar with the online transfer of an article.The VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here

Linux installation Navicat, interface garbled solution (forwarding)

Environment: CENTOS7Download Navicat:navicat112_mariadb_cs_x64.tar.gzClick on the " ./start_navicat" Installation interface will appear garbledWorkaround: Open a Start_navicat file, export lang= "en_US. UTF-8 "changed to export lang=" ZH_CN. UTF-8 ".

The use of virtual displays on Linux and Firefox's learning record

Ubuntu 14.04sudo apt-get install python-pipsudo apt-get install XVFB xserver-xephyr vnc4serversudo pip install pyvirtualdisplay# optional Sud o apt-get Install Python-pil scrotsudo pip install pyscreenshot# Optional for examplessudo pip install

VM ~ VM Linux does not connect to the Internet.

VM ~ VM Linux does not connect to the Internet. Using the Bridge Connection method, centos6.4 is configured with a static IP address, which can ping the gateway, but appears when you ping the Internet "Network is unreachable" For example, ping

Linux/Nginx view the search engine spider behavior script

1. Number of times Baidu spider crawlsCat access. log | grep Baiduspider | wcThe leftmost value shows the number of crawlers.2. Detailed records of Baidu Spider (Ctrl C can be terminated)Cat access. log | grep BaiduspiderYou can also use the

Total Pages: 5467 1 .... 4474 4475 4476 4477 4478 .... 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.