ADB introductionThe SDK's Tools folder contains an important command of the Android emulator Operation ADB,ADB is all called (Android Debug Bridge is the role of debug bridges. With ADB we can debug Android programs via Ddms in Eclipse. With this
Break, continue, exit, return are generally used to control the direction of the loopStart with a script descriptionFor ((i=1;iDoIf [$i-eq 3]Then# break# continue# exitFiEcho $iDoneEcho OKResults of the outputResult of break12OkResults of continue124
Serial number
Task
Command combination
1
Delete a 0-byte file
Find. -type f-size 0-exec rm-rf {} \;Find. Type F-size 0-delete
2
View processes, sorted by memory from large to small
PS-E-O "%c:
The syntax for the most streamlined if command is:if TEST-COMMANDS; then CONSEQUENT-COMMANDS; fiafter the Test-command executes and its return status is 0, the consequent-commands executes. The return status is the exit state of the last command, or
Shell remote execution: It's often necessary to execute some shell commands remotely to other nodes, and if you ssh to each host again, it's a hassle, so you can have a centralized management approach. Describes how the two shell commands are
Original: You can also play Skype--get started with the development shell based on the Skype APISkype is by far the most powerful Im+voip software on the planet, and Skype has now changed the way 280 million people live in the world. You, deserve to
> VI copy and paste
Move the cursor to the beginning of the part to be copied. Run ESC to exit the insert mode. Press V to enter visual mode. Use hjkl to select the part to be copied.
Press Y or YY to copy
Move the cursor to the target
For those who just started to learn shell scripts, it is very important to establish programming thinking. They must be able to express what they need to do in programming, the following are some examples of my learning and collection, which may be
Recently, some hbase things were introduced during the testing of XX Project, hoping to record the process from the testing perspective and hope to help you quickly understand it. As a person who first came into contact with it, they need to grasp
Answer 1:The shell is a typical UNIX program. It reads commands from the standard input and prints something on the standard output. This is simple and good.
The points is: In a graphical environment (like gnome or KDE) a program cannot just write
========================================================== ==========
This article is the original khler, and the original author information and the original link of this article must be kept completely and completely reprinted.
Author: HeYuanHui
E-
After the CLR in-process side-by-side feature is introduced in. NET 4, we can use C # To compile Windows Shell. We can find related examples In Microsoft's All-In-One Code Framework. There are also several articles about it In the yard:
Windows
Back up website content
Copy codeThe Code is as follows :#! /Bin/bash
# Specify the running script shell
# Run the script to grant the user the execution permission
Bakdir =/backup
Month = 'date + % m'
Day = 'date + % d'
Year = 'date + % y'
*-B returns true if the file exists and is a block file
*-C returns true if the file exists and is a character file
*-D returns true if pathname exists and is a directory
*-E returns true if the file or directory specified by pathname exists.
Binary comparison operator, which compares variables or numbers. Note the difference between numbers and strings.
Integer comparison
-Eq equals to, for example, if ["$ a"-eq "$ B"]-Ne is not equal to, for example, if ["$ a"-ne "$ B"]-Gt is greater
Go home today and browse cnbeta.com as usual to see what is fresh.
So we can see a Windows Power Shell 1.0
Well, I'm very interested in this. After all, the current Windows Shell is too weak. I immediately downloaded and installed it from the
Two very detailed shell instances
General programming steps
Now let's discuss the general steps for writing a script. Any excellent script should have help and input parameters. And write a pseudo script (framework. sh) that contains the framework
Location parameters can be usedShift command shifts left. For exampleShift 3 indicates the original$4 now becomes$1, the original$5 now becomes$2, etc. The original$1,$2,$3 discard,$0 is not moved. Without ParametersThe shift command is
I have been learning Shell recently. I used to think that Shell syntax is very difficult and hard to learn. Now I have some gains. In fact, Shell scripts are a collection of linux commands. You can understand what the commands in each step of the
EMACS
If Bash finds that the value of this variable is 'T' in the environment when the shell is started, it considers that the shell runs in the Emacs shell Buffer and does not allow row editing.
ENV
Similar to BASH_ENV, it is used in shell
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