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
Shell floating point arithmetic tool BCBC supports floating-point numbers, which is an advanced tool for mathematical operations.[[Email protected] Desktop]# BCBC 1.06Copyright 1991-1994, 1997, 1998, Free Software Foundation, Inc.This is the free
In shell script, there are several ways to do math, although a few of the results are similar, in writing a program is enough to use a method, but we may also need to learn other people's program Ah, in the reading of other people's programs can not
1. Gets the return value of the Shell function call:#!/bin/sh info () { cat jlb.sh} res= ' info ' echo ' state: ' $?echo ' res: ' ${res}description : res='info' This behavior calls function info, which conforms to ' not single quotes, but the
"Copyright notice: Reprint please keep Source: Blog.csdn.net/gentleliu. mail:shallnew at 163 dot com "There are many files in the Linux system, such as configuration files, log files, user files, and so on. The file contains a lot of information,
Shell Tutorial Shell echo commandShell variablesWhen defining a variable, the variable name does not have a dollar sign (required for variables in the $,php language), such as:Your_name= "w3cschool.cc"Note that there can be no spaces between the
Case ... Esac is similar to the switch ... case statement in other languages, and is a multi-branch selection structure.The case statement matches a value or a pattern, and if the match succeeds, the matching command is executed. The case statement
declaring the execution program#!/bin/bashUsed to tell the system to use the/bin/bash program to execute the script. For example, a Python script can be written like this:#!/usr/bin/pythonassignments and referencesAssignment formula:Variable name =
Hardware Chapter
CPU-related
lscpu #查看的是cpu的统计信息. cat /proc/cpuinfo #查看CPU信息具体信息, such as the model of each CPU, frequency, etc.
Memory-related
free-m #概要查看内存情况 the unit here
After adding some interceptor code, the CPU alarm shows that CPU utilization exceeds 100%.To find out exactly what code consumes too much resources, find a blog post from the Web, reproduced as follows:http://blog.csdn.net/guixunlong/article/details/
ArrayWhat array?An array is a collection that stores multiple storage units together continuously. In Linux, every storage unit in an array is called an array element. By default, the variable type of each array element is character. Therefore,
Winlicense provides the strongest and most scalable technology to enable developers to securely distribute trial and full versions of their software. The following is a description of the Winlicense interface function (Chinese) I. Application
First, I want to process many documents in a folder in batches. These documents save the data I want to process, because pig is a beginner ,, so I don't know how to load data in batches, and I haven't written it.
Your UDF can only load files one by
1. The length of the string, for example:
* $ Var = "Get the length of me"
$ Echo $ {# var}
20
* $ Expr length "$ Var" # note that double quotation marks are used.
20
* $ Echo $ var | awk
While test conditions
Do
Statement 1
Statement 2
Done
Test condition: if the condition is met, the loop is closed until the condition is not met.
How does a while loop exit? Change the variable value corresponding to the test condition in the loop
[Copyright statement: reprinted. Please retain the Source: blog.csdn.net/gentleliu. Mail: shallnew at 163 dot com]
The grep command is used to obtain the line information that complies with the rules. This section describes how to use awk to obtain
A regular expression is a text mode consisting of common characters (such as characters A to Z) and special characters (such as metacharacters. This mode describes one or more strings to be matched when searching the text subject. A regular
Shell encryption-shc Vulnerability
Recently, I have been compiling Shell scripts for customers to use. I will inevitably encounter some sensitive information that I don't want them to know. So I used Shc script encryption to compile binary files
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