1. Peanut Shell
The purpose of peanut shells is to apply for a free domain name.
The application method is very simple, is to download a peanut Shell client, register a peanut shell account, and then you will get a free domain name.
My account name
I'm going to look at the database in Eclipse and operate it through CMD. Directory path is:/data/data/com.abc.oa
It is more convenient to use the SqLite3 command directly in the ADB shell.
1. Open cmd
2. Direct input to adb shell
3. Enter
The most crude version
Shell code find. -name "*.java" |xargs wc-l|grep "Total" |awk ' {print $} ' find. -name "*.java" |xargs cat|wc-l #Output: 37634
The above two sentences are the same, but the second one is to use cat to merge the contents of
1. When defining a variable, no spaces can be left on either side of the = number.egGender=femal ———— RightGender =femal ——— –wronggender= femal ——— –wrong2. Conditional test statement [Both sides of the symbol must be left blank.egif [$gender =
-B Returns True when file exists and is a block file
-C Returns True when file exists and is a character file
-D returns True when pathname exists and is a directory
-E Returns True when pathname specified file or directory exists
-F Returns True
Reproduced from: http://changyang319.com/archives/2234
NO-IP is an established free Internet domain name provider, and if you've ever had a friend using an active IP stand, you should be impressed by how NO-IP can update the domain name IP through
HBase Tutorial (ii) HBase database Shell command
1 Hbase-shell Command
HBase is a distributed, column-oriented open source database, HBase also provides the shell command of the database to add, delete, change, check the basic operations, such as
This article mainly describes how to output colored content in a shell script.
In a shell script, both Echo and printf can output content. Let's look at the following example
Echo-e "\033[43;35m David use echo say hello world \033[0m \ n"
printf "\
@WHILE Loop Statement @
V1=1
While ["$v 1"-lt "6"] #注 [and] have spaces around them,-lt have spaces before and after them.
Todo
echo "This is the $v 1 ' showing up"
v1=$ (($v 1+1)) #注意 $ (()) is a mathematical formula
Done
@FOR Loop Statement @
For
Shell commands, which can be split by semicolons, or by line breaks. If you want to write multiple commands in one line, you can pass the ";" Segmentation.
Such as:
bldr:deyuy/bin/my_shell>>a=5;if [[A-GT 4]]; then echo ' OK '; fi;
If statement
Conclusion:By default, the variables for the parent shell and child shell are isolated.SH mode to run the script, it will re-open a child shell, unable to inherit the normal variables of the parent process, can inherit the parent process export
Guess the number game. First let the system randomly generate a number, give the number a range (1-60), let the user enter the guessing number, the input to judge, if not meet the requirements, give high or low hint, guess the right after the number
1. Modify the IP in the JSON$. IP. SH '8.8. 8.1 '#!/bin/bash#localIP =$ (command)#localip= '/sbin/ifconfig-a|grep inet|grep-v 127.0.0.1|grep-v inet6|grep 8|awk ' {print $} ' |tr-d ' addr: 'forIpinch$ ( Do if[${ip} = ="9.9.0.224" ] Then
1,ssh UnderstandingThere are two servers, one is local, one is the cloud, all Linux systems, if we want to access the cloud system locally, then we can use SSH command, can be used to log in locally remote connection, upload or download files to the
Start password for Shell application programming. Welcome to welcome.
Description: If you want to lock access to the terminal but do not want to exit and log on again, you can write a script.Program.
When the script is called, you can exit only
Django-based control (running of Web Server shell scripts) Guide
"http://www.w3.org/TR/html4/loose.dtd"> pop up function closeit () { setTimeout ("self. close () ", 10000 )//.. } // --> after 10 second, this page will be
Shell special characters
Wildcard
Wildcard characters are used for pattern matching, such as file name matching, path name searching, and string searching. Common wildcard characters include (*),(?) And the Character Sequence enclosed in square
This script is used to automatically back up version libraries under the svn directory and traverse the libraries through awk. The advantage of this is that when someone adds a new version library, there is no need to change the code, the program
Creation: 00:49:46Author: unlinuxFrom: http://www.Unlinux.com
MeI am a newbie myself. I haven't been in touch with Linux for a long time. Recently I encountered a problem when I learned the bash Export command (the book says that export is changing
Zhou haihan/Wen
2010.6.10
BASH Shell extension refers to an operation in which Shell expands commands when analyzing input commands. There are 7 extension methods. Refer to the man bash extension page:
Expansion the command line extension is
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