Tutorial Learn how to use Photoshop to make a simple apple iPhone4 back shell, mainly used in the rounded Rectangle tool and layer mask, let's learn to put together.
Look at the effect chart first.
Triple recommended: photoshop7.0 Mini version
1, configure multiple server logs as long as the $website variable is incremented and separated by a space.2, looping to create the log directory3, after the split with XZ compression, of course, can not be installed with Gzip bzip2 and so on.4,
1. #annotation function, #! ExceptIn addition, in the parameter replacement echo ${path#*:} here does not represent a comment, a numbering conversion, does not represent a comment echo $ ((2#101011))
2.;
Command line separator, you can write
First, simple version
Refer to the example of StackOverflow and change one out:
Copy Code code as follows:
While ifs= ' = ' Read var val
Todo
if [[$var = = \[*]]]
Then
section=$ (echo $var | sed ' s/^\[\ (. *\) \]$/\1/')
The test command in the shell is used to check whether a condition is valid, and it can be tested in three aspects, such as numeric value, character, and file.
Numerical test
Parameters
Description
-eq
is equal to
This article describes the Gearman::xs in CentOS under the compiler installation method, for everyone to learn about!
At present Gearman can support a variety of languages, its official website description is as follows:
Language
1. Take the length
Copy Code code as follows:
Str= "ABCD"
Expr Length $str # 4
echo ${#str} # 4
Expr "$str": ". *" # 4
It seems that the second type is commonly used
2. Find the position of substring
Copy Code code as
[SED Introduction:]
Sed is a good file processing tool, which itself is a pipe command, with the Behavior unit processing, can be used to add, select, replace, delete data rows and other operations.
SED command line format: sed [-nefri] ' range
Found that three symbols are useful when writing scripts. One is the pipe command "|", one is executing the command "&" in parallel, and the other is "&&"
The so-called pipe, acting as a function of the connection between the front and back two
Rman backup Script
#!/bin/bash
su-oracle
Third backup save platform automatically cleans up expired backup files
#! /bin/bash for
file in ' Ls/orabak '
does
if [[${file:0:2} = = ' db ']];then
If your directory level is very deep, this shell will be very convenient to switch directly to the destination directory, such as
Current directory/usr/home, and directory Desdir in/usr/home/app/local/opp/william/desdir
Direct penetration
$ CD
"Variables and Constants"
Variable: The amount that will change, temporarily storing the data so that you can call it later
Constants: Quantity that does not change
One, variable and array
"Variable", like in memory to divide a space, you can
Speaking of function calls, I believe that we will not be unfamiliar, however, for beginners shell of me, the shell function call Way is a little let me not too accustomed to, I have gone a lot of detours, because the transfer parameters when a very
Shell file Start
The shell file must start with the following line (must be on the first line of the file):
#!/bin/sh
The symbolic #! is used to tell the system that the parameters behind it are the programs used to execute the file. In this
The use of BeanShellIn this introduction, the use of BeanShell preprocessor, other beahshell can be analogous. In this we use the Beahshell call ourselves to write the tool class, the tool class implements the password encryption, decryption
1. Analog Linnux Login Shell#/bin/bashEcho-n "Login:"Read nameEcho-n "Password:"Read passwdif [$name = "CHT"-a $passwd = "abc"];thenecho "The host and password is right!"else echo "Input is error!"Fi2. Compare two number sizes#/bin/bashecho "Please
HBASE table Structure Management detailed explanation List List of tables1 hbase (main):001:0> list 1 table 2 cdr 3 noc 4 2 row (s) in 0.1800 seconds 5 Span
Adding shell scripts under Linux allows nginx logs to be cut and compressed every dayA Brief introductionFor nginx log files, especially the access log, if we do not do any processing, the final file will become very largeAt this point, it can be
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.