Shell script Learning Guide-text processing tools 1. sort usage www.2cto.com sort-t:-k1, 1/etc/passwd --- sort by user name sort-t:-k3nr/etc/passwd --- sort by Reverse UID-k3nr, 3 ---- start from Field 3, reverse sort by value type, and end with
Today, when you look at the varnish upper-level Source traffic, we find that the traffic is much larger than usual. At this time, you need to calmly think about the problem and see how small series solves it.
View the traffic diagram of zabbix,
Ubuntu init and system service settings initInit is a program located in/sbin/init. It is in linux, during system startup, after all the device drivers and data structures are initialized, a user-level program started by the kernel and the init
Xenserver adds a new hard disk. XS creates a local storage www.2cto.com. First, the partitioned hard disk is connected to the server to view all the hard disk idls-l/dev/disk/by-id/write down the full name of the hard disk. next, Mount xe sr-create
Take IIS as an example. In this example, content in the/ajax/directory is prohibited from being cached by nginx. Content in other directories is cached by nginx. 1. The Dynamic Server (IIS) address is http: // The content of the 192.168.1.199: 45815
1. motherboard Information
View the serial number of the motherboard
# Use commands
Dmidecode | grep-I "serial number"
# View Board information
Cat/proc/pci
2. cpu Information
# Use the/proc file system
1) cat/proc/cpuinfo
# View the boot
Firewall TechnologyWhat is a firewall? It is a component that works on the edge of the network and regulates and matches incoming and outgoing packets according to the rules defined by the Administrator.Firewalls are divided into hardware and
This article is performed after the LAMP environment is installed. To view the LAMP installation configuration, see my previous LAMP installation documentation.Lab environment:Linux: Centos6.0 (64-bit)Apache: httpd-2.2.19.tar.gzMysql:
Customer Feedback today: the cgi program compiled by perl cannot run and an error is reported. view the log:[Mon Aug 22 16:12:57 2011] [error] [client 59.57.251.34] Premature end of script headers: aaa. cgi[Mon Aug 22 16:12:58 2011] [error] [client 5
DescriptionIn Linux, colons (:) are commonly used as PATH separators and data fields (/etc/passwd. In fact, the colon (:) is also a built-in command in Bash. It does not do anything. It is an empty command and only serves as a position, but
1. mount umount command
Using your floppy disk and Cd in Linux is not as dangerous as in Windows.Think about it. If you install software on a CD or play games in Windows, your girlfriend, render manager, is the first girlfriend, because you play
Fedora 17 Using Virtual Machine bridging method for static configuration of fixed IP address 1) # ifconfig p3p1 up (Note: After my system is installed, the default Nic is p3p1. This command activates this Nic. You can change the name as needed .) 2)
Query who users currently logged on to the system[Root @ lyy ~] # WhoRoot tty1Root pts/0 (192.168.197.1)Login users in column 1Terminal name in column 2Column 3 Logon TimeQuery the lastlog of the last logon time of each user.[Root @ lyy ~] #
In Linux, the input parameters are output cyclically as follows: execute a loop based on the number of Script Parameters $ #, and output each parameter $1 $2 $3 in sequence ...... I have a loop variable I $ I. When I get this variable I is 1, I want
In Linux, set the environment variable command -- export Syntax: export [-p] [variable name] = [variable setting value] parameter description: [-p] lists all environment variables that the shell assigns to the program. Command: displays or sets
Vim auto indent 1, install vim sudo apt-get install vim-full1, the configuration file is located under the directory/etc/, there is a file named vimrc, this is a public vim configuration file in the system and is valid for all users. In each user's
Linux automatically executes crontab learning notes on the linux platform. If you need to implement the task scheduling function, you can write a cron script to implement it. By default, the crond process is started when a task is executed at a
Solution to LIBTOOL is undefined [plain] configure. ac: 10: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. see the Autoconf documentation. + automake -- foreign -- copy --
BIND9 private DNS server small environment build experiment 1. basic server configuration 1) Master root server 192.168.56.1012) from root server 192.168.56.1023) COM server 192.168.56.1034) Resolution Server 192.168.56.104 2. compile and install BI1
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