Must begin #! /Bin/sh start
Start a line of comment #
$ # Indicates the number of parameters input by the script
$1, $2,... indicates 1st parameters, 2nd parameters ,...
Shift is used to move the $ n parameter to the next parameter, which 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.
Shell basics 5: Input and Output (echo, read, Cat, pipeline, Tee, redirection, etc)
All the environments below are tested in RedHat Linux9In Linux, to make the Escape Character take effect, you need to add the parameter-eStart with the echo
Awk uses shell variables, and shell obtains the variable values in awk.
09:36:28 | category:Linux | font size subscription
Original article: http://renyongjie668.blog.163.com/blog/static/16005312011829102025222/
I think inLinuxLowerAwkIt is a good
Under the current path
Ls-altr
Space and sky are both folders, and the rest are files. The directory structure is as follows:
1. List all folders in the current path
Ls-L | grep ^ d
2. count the number of folders in the
You can use the am command to start an existing app in the system in the command line mode.
The ADB shell enters the command line.
Press enter to view the help information about AM.
The meaning of each parameter is not described here. Just give a
Chapter 2: more structured commands
ForBasic Format
for var in listdo commandsdone
You can specify the list in the following ways:1. List
for var in A B C D
If the listed strings contain special characters, such as single quotes1) Use escape
14 noglob variable
Set noglob to stop the wildcard function, that is, the image symbol *? [] {}~ And so on. All of the special functions they represent will be ineffective. It only represents general characters. The following is an example:
1. Eval command-line
Command-new Roman; "> line is a common command line typed on the terminal.HoweverEvalThe result is shell.Scan it twice before executing the command line.For example:
New Roman; "> pipe =" |"
New Roman; "> eval ls $ pipe WC-l
New
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:
VC's default font is Ms shell DLG (8), and Ms shell DLG itself is not a font (refer to: http://poxi.bokee.com/957883.html), just a font ing. Take Chinese Windows XP platform as an example, MS shell DLG (8) is (9.5 ). The ing font can be specified
The third party is ours.
1. Path
The environment variable $ path does not wrap the line, and it looks very difficult. Path outputs the $ PATH Branch
Echo-e $ {path //:/'/N '}
2. classpath
Similar to path
Echo-e $ {classpath //:/'/N '}
3.
1. view the current system memory usage (free ):
The free command has the following common options:
-B displays data in bytes.
-K displays data in kilobytes (Kb) (default value ).
-M displays data in MB.
-S delay this option will enable
Location parameters in bash shell $ #, $ *, $ @, $0, $1, $2... and special parameters $ ?, Meaning of $-and so on
In bash shellOftenWhen you see some special symbols, I will collect them for reference:
Location parameters:For details, see ABS
Install JDK in Linux
Download the original JDK version of Sun: http://java.sun.com/products/archive/. you can download any JDK of sun. I used to find jdk1.4.2 _ 08 for a long time and I couldn't find it. I accidentally found this portal useful, so
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