For everyone to be lazy just ~ Write the steps in a script ~
Usage:
bootstrap.sh && gitosis-knstall.sh
GIT installation ~
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
tar xzvf git-latest.tar.gz
CD
This paper introduces the process of using fireworks to draw hard crust and thick skin bronzing books.
First look at the effect of the picture:
1, first make table cloth, use fireworks rectangle tool to draw a fill color is #dfcfc0
Linux is very cumbersome to build the SVN version of the library each time, if these are implemented through the shell script will be much simpler, then how the shell script to compile it? The following small series gives you a way to create an SVN
Classic Shell official released this morning a new version of 4.0, the new version of the program for Microsoft's latest operating system has made a series of improvements. The application can replace the Win8.1 Start menu and use the same flag as
First, install email send program
Copy Code code as follows:
Yum Install SendMail Mutt
Second, install the FTP client program
This script needs to use an FTP client program to upload files to the FTP space, so you must
For the server, the online rate is very important, there are problems to be resolved in a timely manner, but the system administrator can not be kept in the computer next to the site through the script to monitor the problem in a timely manner
It is customary to use the Linux command line to manage Linux systems, for example:
Copy Code code as follows:
$ date
211 01:34:58 CST 1999
$
When the user logs in, it actually goes into the shell, and it follows a certain
Friends who know more about operating system principles will know that a complete operating system provides a shell (shell) to make it easier for ordinary users to use the various features provided by the operating system. Windows (here refers to
1.SASL is an application, an important function of SASL is to record the system process related logs, such as process start, end, crash errors and other information. The log function of SASL is based on the log module Error_logger with Erlang. I
1. Write a scriptThe script can accept more than one file path as a parameter;Displays the number of rows held by each file;Shows how many files have been executed for the number of rows this time.#!/bin/bashfor file in $*; Do lines= ' wc-l $file |
Binary comparison operators, comparing variables or comparing numbers.Note the difference between a number and a string.1. Integer comparison[CPP]View PlainCopyprint?
-eq equals, such as:if [ "$a"-eq " $b"]
-ne not equal to, such as:if [ "$a"
failed to sync branch your might need to open a shell and debug the state of this repo.I made some changes to a file a month ago. I just realized today that they didn ' t go anywhere; The GitHub Web-site has a history of my changes.The client has a
Remove line breaks (multiple lines of content are displayed on one line):1.sed-e ': A; N;s/\n//;ta ' filename2. In VI, using:%s/\n//g3.cat filename |xargs Echoand cat Filename|xargs behavior is the same, xargs default is the result of the previous
There are a lot of special symbols in the Linux shell, which we should pay special attention to when we write shell scripts: On the one hand, we need to know the use of these special symbols, which can achieve a multiplier effect, but on the other
Use the shell to monitor CPU, disk, memory usage, reach alert thresholds and email notificationsAnd with the task plan, you can get the alarm information in time#!/bin/bash############################################## #Author: liuzhengwei - [email
Special characters in the shellIn addition to using ordinary characters in the shell, you can use special characters that have special meanings and functions. They should be used with special meaning and scope of action. Each of these special
This article does not have the technical content, also not big on, but think, still write down, certainly someone will use to get.Often play system friends, should know the Shell instructions, this is a very fun and magical instructions. With it,
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.