Shell is a command interpreter. It is an insulation layer between the operating system kernel and the user. To be precise, it is alsoA powerful computer language. A shellProgramIt is called a script and is a very easy-to-use tool.Combine system
/* Is also the online answer. I don't know where to find it ......*/
In the Linux Shell environment, input and output redirection is supported, expressed by symbols . 0, 1, and 2 indicate the standard input, standard output, and standard error
Tangent to Vertex
Returns a convex polygon.P, TangentLIsPIntersection andPInternalL.
This concept is similar to orthogonal tangent.
Pair of vertex points
If two verticesPAndQ(BelongP) In the two parallel tangent lines, they form a pair of
If you need to perform operations on the base database in shell, you can first create a corresponding function, as shown in figure
Dbstr = "Tigger/pw123 @ orcl"
Exesql (){Sqlplus-S $ dbstr Set autocommit off;$1;Commit;Exit;EOF}
Phonelist = "1325
Do you still remember the regular expression that used to calculate prime numbers? The world of programming is so interesting that you will always be able to see something special. Have you ever thought that you can put your variables and functions
2011-04-23 wcdj
The method for learning shell program design is: Hands-on + man command
The following scripts are all tested in cygwin.$/Bin/Bash -- versionGNU bash, version 2.05b.0 (1)-release (i686-pc-cygwin)Copyright (c) 2002 Free Software
6.3 start the shell Environment
The init_post function comes from the 814 rows of the same file:
811/* This is a non _ init function. force it to be noinline otherwise gcc812 * makes it inline to Init () and it becomes part of init. Text
This article is the fifth chapter of Flow Control in learning the bash shell 3rd edition, but we will not limit it to this. Flow Control is a common part of any programming language and includes bash. Here we will learn about them.
If/else is used
(Function: Move the general files in the directory to The./save directory, without moving the directory itself and the file fun. Sh)
Fun. Sh
#! /Bin/bash # When no. /create the directory if [-D. /save] Then ECHO " has existed" else mkdir.
The Select expression is a bash extension application, especially for interactive use. You can select from a group of different values.Select VaR in...; doBreakDone... Now $ VaR can be used ....The following is an example:#! /Bin/shEcho "What is
This script only satisfies part of the work I want to complete, and the rest of the content must be completed and debugged in the company.
Script running requires the following conditions:
Ctags.exe in the same directory as the script requires
This blog (Http://blog.csdn.net/livelylittlefish) Post the notes prepared by the author (, Xiaoyu) on the relevant research and study content. You are welcome to correct them!
Hide cmd command line running using wscript. Shell object
1. wscript.
ShellColor in
1)
Concept
ANSIEscape code to control the display format
ToCSI(Control sequence indicator).
Select graphicRendition, Select image reproduction
2)
Csin [; k] m
N/KDefine the selected display control,MTableSGREscape
Bash is used for shell programming. Bash is free and easy to use. Bash-Bourne again shell
File named myshell. Sh
Before executing a file, you must first obtain the following permissions:
Chomod 777 myshell. Sh
1. display file
1 If
#!/bin/bashecho "Please chose your favourite fruit:";select fruit in "apple" "orange" "banana" "none";dobreak;done;if [ $fruit == "apple" ] then echo "you like apple!"elif [ $fruit == "orange" ] then echo "you like orange!"elif [ $fruit ==
Import flash. display. Sprite;Import flash. display. stage;Import flash. Events. event;Import flash. Geom. Point; Import zujian. tank; Public class paodan extends Sprite{Private var ball: ball;Private var point: Point = new point ();Private var DX:
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