ADB shell AM Broadcast

The following parameters for ADB shell AM broadcast are:[-a ][-D ][-t ][-C [-C ] ...][-e|--es ...][--ez ...][-e|--ei ...][-n ][-f ] []For example:ADB shell am broadcast-a com.xxxxx--es key_string "string" --eiint_int 111 --ezkey_boolean

Shell--shift usage

Shift is a very useful command in UNIX. You can move the command parameter to the left so that the command parameter position in the script is not changed, and all parameters are traversed in turn.As Shift 3 indicates that the original $4 now become

Shell for, while usage

#数字段形式For i in {1..10}DoEcho $iDone#详细列出 (characters and not many items)For File in 1 2 3 4 5DoEcho $FileDone#对存在的文件进行循环For shname in ' LS *.sh 'DoName= ' echo ' $shname | Awk-f. ' {print '} 'Echo $nameDone#查找循环 (This method can also be used when

Linux-------The creation of Shell programs and special characters

first, how to execute the shell scriptShell scripts are text files, so you can create and edit scripts with any text file editor (such as Vi,emacs, etc.). The name of the shell script file does not have a qualified suffix name, usually without a

Quickly jump to a specific directory in the shell

Quickly jump to a specific directory in the shellOn the computer to put the project code unified into a directory "~/code", often need to jump from other directories to the code directory, always enter the directory is more trouble, and then think

Linux Learning Shell Script

[This is my own study notes, welcome reprint, but please specify the source:http://blog.csdn.net/jesson20121020] Shell Script basic elements:#!/bin/bash ---First line # ---comment variable flow control structureLook at a simple example,

Linux shell switching

If you need to modify the default shell (typically the bash shell), use it handy. Check the shell types available for your system first[email protected] ~]$ chsh-l/bin/sh/bin/bash/sbin/nologin/bin/tcsh/bin/csh/bin/kshModify the current shell[email

Shell Script Programming Learning notes (1)

Programming on Linux, without the shell, plan to take a good look at Shell programming, and make notes here to share with people of the same interest, primarily in the Shell Scripting Learning Guide.Before you learn shell scripting, you need to

Auto-Interaction in Pect-shell

This is the automatic landing SSH script I wrote in St, divided into two filesFile 1:sssh#!/bin/bash#xql 2011/01/4#auto SSH 138.198.230.170Case$Inch "Xql")Sssh.exp XQL ;; "Root")Sssh.exp Root ;; "31" ) SSH [ Email protected]10. 80.117. ; "40" )

Fundamentals of shell Programming for Linux

One, variableVariables in the shell are divided into: local variables, environment variables, positional parameters;Local variables: Variables that can only be used in scripts for the user's current shell lifetime, local variables are invalidated as

Shell Script Basic Syntax

the meaning of several symbols$#: On behalf of the following parameters "number", the above table as an example of this shows as "4";[email protected]: for "$" "$" "$" "$" "$4" means, each variable is independent (enclosed in double quotation marks);

Shell Learning Notes--awk usage

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/4C/wKiom1St7-jhv5MEAAJw30MjWNA274.jpg "style=" float: none; "title=" QQ picture 20150104161512.png "alt=" Wkiom1st7-jhv5meaajw30mjwna274.jpg "/>650) this.width=650; "src=" http://s3.51cto.

Basics of learning shell scripts (i) (Learning to record posts)

Record command history: The commands we've knocked on, Linux will have a record, saved in the. bash_history file in your home directory. (Note: The current command will be saved in the. bash_history file only if the user exits the current shell

Batch create thumbnails under Linux shell

I. BACKGROUNDToday, suddenly found that the latest news thumbnails on the mobile client are not displayed, on the server looked at,Discover that new news images do not generate thumbnails at all.This set of news release system is very old program,

Linux Shell Basics

  The bash shell itself does not support regular expressions, and the use of regular expressions is shell commands and tools such as grep, SED, awk, and so on;However, thebash shell can use some metacharacters in the regular expression to implement

Shell Scripting Knowledge Chaos Set

For example, comparing strings, judging whether the file exists and whether it is readable, etc., usually uses "[]" to represent the condition test.Note: The space here is important. The space to ensure the square brackets. I have wasted a lot of

Linux Shell Script Raiders Note sixth: packaging compression

Linux Shell Script Raiders notesSixth chapter: Packing Compression1, package, unpack [[email protected] program_test]# tar-cf output.tar 11.txt 22.txt 33.txt [[email protected] program_test]# Tar- XF output.tar-c./tar-file///-c Specify which path to

Shell Array Summary

1. Calculate the length of the array:${#array [@]}2. List the array index:${!array[*]} or ${!array[@]}3. Print all the values in the array:${array[*]} or ${array[@]}Iterate through the array elements in 4.shell:For STR in ${array[@]};DoEcho

Sch encrypts shell scripts 02

Sch encrypts shell scripts 02 Sch encrypts shell scripts 02 I. Introduction SHC (shell script compiler) is the shell script compiler. Scripts compiled through SHC are not readable for common users. Therefore, if you want your code to implement

Introduction to the ssh "Secure Shell" Protocol

Introduction to the ssh "Secure Shell" Protocol Traditional network service programs, such as ftp, pop, and telnet, are inherently insecure because they transmit passwords and data in plain text on the network, people with ulterior motives can

Total Pages: 541 1 .... 430 431 432 433 434 .... 541 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.