Shell Regular expression authentication IP address

This article mainly introduced the shell regular expression authentication IP address, this article has given several methods, and gives the realization code separately, needs the friend to be possible to refer to under Multiple IP on this machine

Linux rsync Sync command (worth collecting) _linux shell

If you are a maintenance engineer, you are likely to face dozens of, hundreds of or even thousands of servers, in addition to bulk operations, environmental synchronization, data synchronization is also essential skills. When it comes to "sync,"

A command to delete all files except a file in the Linux shell __linux

Linux anti-select Delete file The easiest way is to # shopt-s Extglob (open Extglob mode)# RM-FR! (File1)If you want to exclude multiple, you can do this:# RM-RF! (File1|file2) LINUXRM Delete Other file method totals outside the specified fileFirst,

Shell script implements Sybase data backup

It can be created under Sybase users and named Bcpoutdata. Then chmod a+x bcpoutdata Run Bcpoutdata under the Sybase user. Note: 1) Change the database_name to your database name. 2 Change the PAS to your sa password. 3 Change the server to

Linux Shell integer Operations Let [] (()) expr and floating-point BC usage

Abstract: 1) The Linux shell uses let, [], (()) Three operators to manipulate shell variables for simple basic operations; 2) The Linux shell uses expr and BC two programs to achieve advanced operations; 1, basic operation of Linux

Special symbols and Cut,sort,wc,uniq,tee,tr,split commands in the shell

I. Special symbols in the shellWhile you are learning Linux, you may have been exposed to a special symbol, such as "*", which is a wildcard symbol that represents 0 or more characters or numbers.Special characters that are commonly used:1, *

Use Shell to modify dynamic IP to static IP, static IP to other static IP

(1) The idea of modifying dynamic IP to static IP① back up the Ifcfg-eth0 file before modifying IP② Enter the NIC configuration directory/etc/sysconfig/network-scripts/ifcfg-eth0③ modifying Bootproto=static④ modifying Onboot=yes⑤ Configuring a

Linux Learning (22) Shell Basics (iii) Special symbols, sort, WC, uniq, tee, TR, split

First, special symbols*: any of any characters1*1bak.zip 1. Tar 1. zip.bz21:1. TXT 21*2? : An arbitrary character2? Tar 2. Tar#: Notes[[Email protected] ~\: de-intention[Email protected] ~]# a=3~]# echo $a3~"\ $a "$a|: Pipe SymbolThe function of

Shell finishing (26) = = = Uppercase and lowercase letters replace and randomly take out an odd number

(a) Title: Accept an input, if the uppercase letter is converted into lowercase letters, lowercase letters to uppercase.For example:[Email protected] hushuai]# bash 4.shInput:dingxueDingxue[Email protected] hushuai]# Method (1)The shell code

Shell Scripting Raiders (learning notes)--1.2 Echo and printf printouts

1.2.1 Echo's quote questionFor the use of ECHO, note that the special case of single and double quotes is the point. To print "Hello world!" As an example.Echo Hello world!Hello world!Echo ' Hello world! 'Hello world!Echo " Hello world! "

Shell Learning Condition test (refer to Shell scripting tricks)

1 about test testing, see the man documentationThe judgment of an expression(EXPRESSION) #EXPRESSION is True! EXPRESSION #EXPRESSION is FalseExpression1-a EXPRESSION2 #both is true,-o means orWhether the string is empty, equal-N string #the length

Ali Linux Shell script interview 25 Classic Quiz

What is a q:1 shell script and is it required?A: A shell script is a text file that contains one or more commands. As a system administrator, we often need to use multiple commands to accomplish a task, and we can add all these commands in a text

Double quotes in the shell, single quotes, back quotes

There are three types of quotes in the shell: single quotes, double quotes, and anti-quotes. The single quotation mark ' character nonalphanumeric, enclosed by single quotes, appears as a normal character. When special characters are enclosed in

Bind a top-level domain name to a peanut shell

If it is the root of a domain name such as abc.com, The cname record cannot be set, and it cannot be implemented technically. The implementation is also unstable and useless. If it is http://www.abc.com/this seed domain name, you can set it. You

Shell-shell programming error: "syntax error near unexpected token '"

From: http://blog.csdn.net/xyp84/article/details/4435899 Today, I wrote a shell script, which runs normally on my machine. To my colleagues, run the syntax error near unexpected token error. I can check the shell script on the left and right, but

Shell script to convert hexadecimal decimal octal binary

Convert other hexadecimal values to hexadecimal values Octal to decimal: [Chengmo @ centos5 ~] $ (Num = 0123 ));[Chengmo @ centos5 ~] $ Echo $ num;83 [Chengmo @ centos5 ~] $ (Num = 8 #123 ));[Chengmo @ centos5 ~] $ Echo $ num;83 (Expression), (

Linux Command Line and shell script programming Daquan: 2nd

Linux Command Line and shell script programming Daquan: Version 2ndBasic InformationAuthor: (US) Blum (R.) Bresnahan. c.) [Translator's introduction]Translator: Wu HaifengSeries name: Turing programming SeriesPress: People's post and

Use SSH (Secure SHell)

Use SSH (Secure SHell) 1. What is SSH? 2. How does SSH work? 3. Why do I need to log on using the second method? 4. experiment between Windows 7 and ubuntu Virtual Machine 4.1 ssh password connection 4.2 ssh key connection-

Batch scp script tool written by shell in combination with reverse CT

When deploying a task, one of the necessary processes is to send some files, such as the installation package, to a large number of servers. Although yuge's script is available, it is a python script written through the ssh and scp functions

Simple logon, batch command execution, batch copy file shell script [Linux O & M script case]

  Name: satool PS: it can be called a "Silly Rabbit" by a colleague ") Function: This script can run commands in batches, copy files, and perform simple logon. You can quickly log on without remembering the specific IP address of the application

Total Pages: 541 1 .... 21 22 23 24 25 .... 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.