To give you illustrator software users to detailed analysis to share the creation of exquisite shell texture tutorial.
Tutorial Sharing:
Well, the above information is small make up to you illustrator of
Suppose we are confronted with a problem like this, the company's key data copy to the test server, after it is deleted directly, still worry that the server vendor can restore it, even through Fdisk reformatting, there is still the risk of recovery,
Shell if judge commonly used in the green part, the tail part of the more do not understand. Reproduced from Baidu Library.
[-A file] if FILE existence is true.
[-B-file] True if file exists and is a block-specific file.
[-C file] is true if file
Problem background:
#!/bin/shphp=100;Java=101Language= "PHP JAVA"For Lang in $LANGUAGETodoWhat do you want to do with 100, 101 line-by-row output?Done
Workaround-Numeric string:
#!/bin/sh php=100;Java=101Language= "PHP JAVA" for Lang in $LANGUAGE
The following is a 1-2-day study of Shell learning notes
————————-I'm the separator —————————
Hardware to perform, operating between the kernel and the hardware.
The command parser.
Component elements of a shell script
System
Known three time variables:time1= "Fri Aug 23 11:35:21"Time2= "Mon Sep 2 16:18:09"Time3= "Tue Sep 3 16:06:33"Given that these three times can be determined to occur in 2011-2013, how quickly to determine what year it is?
Want to output:time1= "2013/
A few days ago I talked to a few colleagues about a problem: How do you pass an array to the inside of awk for processing in a shell script?
No way was found at that time. Two days ago in the QQ group to discuss awk, the conversation inadvertently
Linux Process Permissions Analysis
In Linux, about file permissions, most people contact more, but also more familiar with the understanding. But there is little knowledge of process permissions. This article summarizes the Linux system under the
Note: After the awk command, there are not too many complex commands, which are basic commands.
Description
Cat, which is the abbreviation of the word concatenate, outputs the contents of the file to stdout. When the redirection operator (> orWhen
An array is a set of elements of the same data type arranged in a certain order, that is, a variable of the same type is named with a name and then numbered to distinguish their set of variables, which is called an array name, and the number is
How to calculate the number of files and directories in the current directory
# ls-l * |grep "^-" |wc-l----to count files
# ls-l * |grep ' ^d ' |wc-l-----to Count dir
How do I just column subdirectories?
Or
For Linux array definitions, and build methods, see: Linux shell dynamically generate array series SEQ usage tips. My main point here is to efficiently generate the list string, as well as the array method.
One, the SEQ method produces:
Using shell script to automate the maintenance of the system is simple, convenient and portable.
But shell scripts are readable and writable, and are likely to reveal sensitive information, such as user name, password, path, IP, and so on.
*-B Returns True when file exists and is a block file
*-C Returns True when file exists and is a character file
*-D returns True when pathname exists and is a directory
*-E Returns True when pathname specified file or directory exists
*-F returns
Install rsync in Redhat
1, first on the server and the client are installed rsync, my RHEL5 by default has been installed. When installing REDHAT5, you can see it in the "basic system" in software Customization-"basic" optional packages: rsync-2.6.8
Today, another Linux production environment to build. This is a lot of steps, very cumbersome and have to do things. Although many times, but there are many steps, orders do not remember, every time looking for information is troublesome, so take
Summary
SEO optimization of the first step is to let spider spiders often come to your site to patronize, the following Linux commands can let you know the spider crawling situation clearly. Below we analyze for Nginx server, log file
The Linux shell is much more powerful in programming than in Windows batching, whether in loops or operations. There is no comparison of data types. The following is a summary of how an individual operates on an array while in use.
1. Array
Turn from:Shell Several methods for judging string inclusion relationshipsNow every time you analyze the site log, you need to determine whether Baidu Spider is a real spider, after nslookup need to determine if the result contains "Baidu" stringThe
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