Shell resolution Server High Availability

HA (High availability) is highly available and has the following three modes of operation. (1) Master-slave mode (asymmetric mode) Working principle: The host work, the standby machine is in the monitoring preparation condition; When the host is

SVN-based Code submission statistics tool implemented by shell scripts

This article mainly introduces the shell script implementation based on SVN Code submission Statistics tool, this article directly gives the implementation of script code, the need for friends can refer to the Nothing recently, I wrote a code

Java Run Shell Script method sample

  Using the Runtime.execute method, we can run Linux shell scripts in Java programs, or execute other programs Now through the Commandhelper.execute method can execute the command, the class implementation code as follows: Package

Shell Common operator Summary

This article mainly introduces the shell commonly used operator Summary, this article explained the arithmetic operator, the relational operator, the test operator and so on content, needs the friend to be possible to refer to under First, the

Using shell script to build a virtual host method

This afternoon wrote a simple one-click Automatic Virtual Host shell script, the script to implement automatic configuration Nginx virtual host, automatically create FTP account, automatically create a database, users, and automatically achieve

Linux shell txt convert to HTML implementation code _linux shell

Principle: awk command, split formatted TXT (TXT file format with "|") divided) into groups, then spliced into HTML format (html-head-title-body-table) Shell Source #!/bin/sh file_input= ' txt.log ' file_output= ' txt2html.html ' td_str= '

The option to detect the input the shell script _linux shell in Path

I accidentally found a very interesting book of Shell programming, E, content is 101 shell case, stick to tomorrow to read a, write a little experience. The following is an example 001: #!/bin/sh # inpath-verifies That's a specified program

Share an entry-level controllable multithreaded shell script code _linux Shell

When it comes to shell-controlled multithreading, most of the online sharing is a pipeline control scheme. This scheme, Zhanggo blog has also been actual combat and share once: "Shell+curl website health status check script, grabbed the Chinese blog

Shell script implements batch generation Nagios configuration file _linux Shell

If you manage more sites and servers, every time you modify a configuration file, it's pretty painful. The idea is to use a shell script to generate bulk configuration files and configuration data. The following script is a shell script for batch

How to force the removal of the RPM package _linux shell

Remove software To remove the software is very simple, just execute the following command: Copy Code code as follows: # rpm–e Xanim At this point, the user should be careful to use the name of the software Xanim, rather

Shell+curl Site Status Check script grab the inaccessible site _linux shell

A start to build the Chinese blog Alliance, both bloggers remind me to do Web site Daquan maintenance of this kind of website is very troublesome, need a lot of energy to debug some of the aborted site, but also to take the blog Encyclopedia of Pine

${in Shell}, # #和%% use example _linux shell

Today read a script file when there are some places do not understand, find an article to read some, feel good, keep down.Let's say we've defined a variable as: Copy Code code as follows: File=/dir1/dir2/dir3/my.file.txt You

Use shell script to prevent SSH and vsftpd brute force crack explain _linux shell

Script requirements are as follows: This shell script is placed in the Crontab planning task, every 6 hours (this time according to the actual situation) to read the/var/log/secure script, take out the malicious guessing IP, if the unit time (a week)

Multiple ways to perform mathematical operations through the shell _linux shell

In bash, Bash's math is a little awkward, it's hard to adapt and remember, so you have to write a blog post to make it easier to look through. There are four ways to perform mathematical operations: A, let order Copy Code code as follows:

Shell Script Programming Case Statement learn notes _linux Shell

Case statements are used to implement multiple if. else, but the usage is somewhat different, people who have learned other languages know that the case to match the variables, if there is a matching successful words to execute the corresponding

Shell Script Array Operation summary _linux shell

The Linux shell is much more powerful in programming than in Windows batching, whether in cycles or operations. Bash supports one-dimensional arrays (multidimensional arrays are not supported) and does not qualify the size of the array. Similar to

The operation and comparison instance of the shell script handling floating-point numbers _linux shell

The percentage of CPU, memory usage of the process seen through the top command is a floating-point number, and I need to process it while writing the script, so I learned a few things and summarized as follows. In fact, the Shell (here is bash)

How to mount a hard disk (9TB) Shell version under Ubuntu 12

I. BACKGROUND We have the Ubuntu Server 12.04 version installed on our servers, and because of the development environment, we have no centeos or red Hat, and we have a few big hard drives that need to be mounted to the root directory, which is not

CentOS6.3 use Shell to back up system files and implement mail delivery

System Environment: CentOS6.3 Mutt:yum Default Source Installation 1. Install Mutt mail Client # yum Install Mutt-y 2. Create a script # vi/etc/rc.d/mail_to_bak_daily.sh (Version i) ------------------------------------------------------------

Shell standard input, output, and error

Security code: Taohuatan depth thousand feet, less than mountain send Me love.File descriptor (FD): The file descriptor is a non-negative integer, and when you open an existing file or create a new file, the kernel returns aFile descriptors, and

Total Pages: 541 1 .... 83 84 85 86 87 .... 541 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.