CMD uses shell commands to change the permissions of Android files (real machines). The commands executed are as follows: ADB shell ---> press ENTER ----> su ----> press ENTER -------> chmod 700 data ----> press Enter. Then, the permission for the
I am used to the C/C ++ programming environment, and then switched to shell programming, there is always a strange feeling.
The general if-then-else Function Format in shell is as follows:
If condition 1
Then command 1
Elif condition 2
If you encounter this problem, write it in your own way. Here, only the relevant part is shown.
# Getting the length of an array
Array_len = "'wc-l temp2 | awk '{print $1 }''"
Temp_index = 0
Declare-A array_date
# Assign values to arrays in
Hawking wrote, good. Colorful pages look good, just like watching a picture. However, the text used is a bit esoteric to me.
Like the past, we are still pursuing knowledge, exploring the mysteries of the universe, hoping to know the past and the
1. Desktop (Wireless disabled, wired dialing)
Bind the free oray domain name and the dial-up IP address (change the record ).
2. The oray client is updated in time, but the ping domain name times out.
The reason is that the binding has not
Http://coolshell.cn/articles/4990.html
Preface
Do you think you have only done the same procedure as a small toy when you graduated from school?After entering the workplace, even if you have no experience, you can go through the following
Sort
The sort command sorts the rows in the file specified by the file parameter and writes the result to the standard output. If the file parameter specifies multiple files, the sort command connects these files and sorts them as one file.
Sort
In shell script writing applications, graphical interfaces are sometimes required. For example, the default CP copy file mode is silent, and the copy progress and percentage cannot be seen. The dialog tool provides a graphical interface for shell.
root@bt:~/test# chown --helpUsage: chown [OPTION]... [OWNER][:[GROUP]] FILE... or: chown [OPTION]... --reference=RFILE FILE...Change the owner and/or group of each FILE to OWNER and/or GROUP.With --reference, change the owner and group of each
This article is great for people who have been using bash in Linux for a long time. The for command has powerful functions!
Self, http://hi.bccn.net/space-21499-do-blog-id-13524.html
For allows some commands that do not support wildcards to operate
When you use shell functions, it is easy to run another executable program in the VB program. In this article, I will show you how to improve Shell functions in a simple way.
Shell accepts two independent variables. The first is the name of the EXE
Linux-shell-|, & {}, (), reg-command execution sequence
&&Format: command 1 & command 2Purpose: & after the command on the left (command 1) returns true (that is, 0 is returned, successfully executed), the command on the right (command 2) can be
[InternetShortcut]URL=http://www.baidu.com/IDList=BEST=0[{000214A0-0000-0000-C000-000000000046}]Prop3=19,2
The above is the code for opening the Baidu shortcut file in text format saved in windows. The format of all URL files is basically the same.
Sometimes we need to check the correctness of IP input and the correctness of the network mask, written in shell script:
# Verify IP address correctness check_ip_format () {echo $1 | grep "^ [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [0-9] \ {1, 3 \}\. [
#!/bin/sh#for exm to test# ./check.sh 12 36 25 12 453 1 2 3 RETVAL=0SRRVER_START=1SRRVER_STOP=2DNS_STATUS=1dnsCheck(){ while test "x`pidof dnsmasq`" != x ; do echo "check DNS status...................."
Shell learning 2: ASPack 2.12 shelling
SkyjackerHttp: // blog.csdn.net/skyjackerEmail: hemiaoyu gmail.comQQ: 677055172007-2-10
1. Shelling Process
Automatically write a simple form program.Use aspack2.12 shelling (by using a volume) to generate the
Linux mobile phone DIY. Shell application extension 1. Random incoming ringtone (e680 Series)
Papayas
2007-03-18
I. What is shell?
Before getting started, I always used to copy some stuff from the Internet to "enrich" the content of the
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