Linux timed shell script execution

Transferred from: http://blog.csdn.net/jingxiangren/article/details/4745631In Oracle, the Dbms_job package can be used to perform PL/SQL procedures, which are required at the operating system level, such as backups, to be performed at the OS stage

Syntax knowledge for shell Scripts 2

Numerical calculation of ①shell$[[space] $a [space]operator[space] $b [space]]The calculation operator and its operands must be enclosed in square brackets [], followed by $ as a leader, and [space] means that spaces are dispensable here.Eg: ' A=2;b=

Shell Scripting Learning Notes (3) Use of SED commands

This article mainly refers to "Sed&awk".We usually use the editor, such as VI, is an interactive editor, is to modify which place, the first place to locate, usually by moving the cursor to complete. SED is a non-interactive, character

Shell script-Conditional statement, loop statement

Conditional statements1#!/bin/Bash2 3Read-p"input your name:"name4 #第一种判断5 if["$name"=="Mike" ];then #注意这里用 [...] When comparing two strings, the variable $name quoted, and there are spaces on both sides of "= ="; "[" followed by a space; "]"

Shell script-Judging Type

Test-judgedSee below:1 Echo " exist " Echo " Not exist "Determine if/opt/a.txt exists, output exist, otherwise output not existTest also has many uses: A "file type" judgment about a file name, such as TEST-E filename indicates whether or not it

Shell string Processing

String-related operations are often involved in the shell batch process. There are a lot of command statements, such as: awk,sed can do string various operations. In fact, the shell built a series of operating symbols, you can achieve similar

Getting Started with Linux Shell scripting (ii) Looping statements

Before the concept of variables and logical operators, you can write a judgment statement, but here note that the two sides of the brackets must be left blank, or error.Operator Assignment, with a let statement, such as Let "a=1"

Executing shell scripts in the background

Execution mode:Nohup sh export_data.sh 20150102 >20150102.log 2>&1 &[1] 295310, 1 and 2 respectively represent the following meanings:0–stdin (Standard input)1–stdout (Standard output)2–stderr (standard error)Nohup+ 's back & is to have the command

string of Shell intercept variable

From: http://blog.sina.com.cn/s/blog_7c95e5850100zpch.htmlSuppose there is a variable var=http://www.linuxidc.com/test.htma # Intercept, delete the left character, and leave the right character. echo ${var#*//} where  var  is the variable name,# 

Some of the special symbols and functions that are common in shell scripts

This article mainly introduces some special symbols and its function in shell script, summary is very concise, easy to understand, the need for friends can refer to the next In writing shell scripts, we need to use a variety of special symbols,

Gzexe Help shell scripting encryption 01

Gzexe Help Shell Scripting Encryption onFirst, Introductionmany times our script will involve some private information, such as: User name, password, or other important information, we use some encryption to block this information, to ensure that

"Learning notes" Bash shell login, logoff, execution, etc.

Login: Bash executes/etc/profile first and then calls ~/.bash_profile. Cancellation: Bash calls ~/.bash_logout. Execute the new shell: In desktop management programs such as KDE,GNONE,ICEWM, execute terminal programs or perform

Shell script (i)

1. IntroductionShell (shell) is the code that the Linux system uses to parse the user's commands into the computer's ability to execute, which is then handed to the kernel for execution by the kernel. The types of shells supported by this Linux

Shell implementation Associative array

Shell implementation Associative array Shell implementation Associative arrayWrite the input and output of the array with the shell; there is a file, the first list of host names, the second column IP address, how to enter the hostname return IP

Shell implementation Associative array

Shell implementation Associative array Shell implementation Associative arrayWrite the input and output of the array with the shell; there is a file, the first list of host names, the second column IP address, how to enter the hostname return IP

Shell implementation Associative array

Shell implementation Associative array Shell implementation Associative arrayWrite the input and output of the array with the shell; there is a file, the first list of host names, the second column IP address, how to

Java calls Bash shell script blocking small problem resolution

Java calls Bash shell script blocking small problem resolutionBackgroundUsing Java implementation of the Web side, the web side of the corresponding user interface operation, using Java Call Bash implementation of the shell script to do the actual

Shell Step by Step (2) -- Variable, stepvariable

Shell Step by Step (2) -- Variable, stepvariable3. Variable declaration readonly read-only export modification or printing environment variable export-p display current environment[Note] Note that there must be no spaces before and after the

Java beauty [from cainiao to expert drills] using shell scripts in Linux (1), javashell

Java beauty [from cainiao to expert drills] using shell scripts in Linux (1), javashellAuthor: erqing Personal site: zhangerqing.cn mail: xtfggef@gmail.com Weibo: http://weibo.com/xtfggef Shell scripts combine multiple commands and write them

Shell programming-sort

Shell programming-sortThe sort sorting operation sorts a row in one or more files according to the set rules. Output to the standard output and will not be saved to any files.-T specifies the filed separator. The default value is space. Multiple

Total Pages: 541 1 .... 264 265 266 267 268 .... 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.