ADB Shell Top

PID: ID of the process in the systemCPU%-current instantaneous so use CPU utilization#THR-the number of threads currently used by the programUID-User ID running the current processName-Program name Android.process.mediaVss-virtual Set Size Virtual

Some Useful Shell command

1. cat cat is used to read, display, or concatenate the contents of a fileCat file.txt //show The content of file.txt shows the contents of the file.txt in cat file.txt file1.txt .... Show the content of File.txt file1.txt .....

Linux Shell Script Raiders (1.1)

1.1 Introduction The design of many Unix-like operating systems is breathtaking. Even today, decades later, UNIX-style operating system architectures are still one of the best designs ever. One of the most important features of this architecture

Implementing SSH password-free login shell script

The ~/.SSH directory already exists on the default remote host. Execute the following script on your PC, enter the server user name and IP address, and log in without password the next time you log in.#!/bin/bashid_res_pub=~/.ssh/id_rsa.pubif [!-F "$

Display colored words in a shell script (Linux)

One, echo command (with parameter-e) cat color.sh#!/bin/bashecho -e  "\033[30m black \033[0m" echo -e   "\033[31m red \033[0m" echo -e  "\033[32m green \033[0m" echo -e  "\ 033[33m yellow \033[0m "echo -e " \033[34m blue \033[0m "echo -e " \033[ 35m 

Shell multi-process concurrency

Business background: Let a.sh and b.sh execute simultaneously, not sequentially Solution: S.SH is responsible for dispatching a.sh and b.sh. The code is as follows:s.sh#!/bin/bashsource/etc/profile;date= ' 2015-05-06 '

Shell Learning Notes VI (Test and judgment)

Test and judgment tests use the $ after command execution to determine if the command is performing properly. $?==0? Normal: Error test structure: 1, test expression 2, [expression] #注意表达式两侧的空格 mode 2 increases the readability of the code, and more

Shell Learning notes seven (looping)

Loops in a loop shell are mainly for,while,untile,select for 1, list for loop for VARIABLE in (list) do Command Done example: Loop print John's favorite fruit for fruit in apple orange banana pear Do echo "$fruit is John's

Linux Series-shell Learning notes

First record1, the simple HelloWorld writingInput command under Shell input:VI helloworld.shThen enter the text editor:#!/bin/shell#this is Ahelloworld testa= "HelloWorld" echo $aExecute helloworld.sh FileCommand:# sh helloworld.sh2, the variable

Ubuntu System Write shell script program installs multiple packages at once

Ubuntu System Write shell script program installs multiple packages at onceWriting shell scripts installs multiple software at once, primarily for some software-dependent environment configurations.1. The shell script must start with the following

Note--shell Scripting Learning Guide

Shell Scripting Study Guide Mechanical industry publishing ISBN 987-7-111-25504-82nd Chapter2.4Primary traps1. Today's systems, for #! The length limit for this line is from 63 to 1024 characters, try not to exceed 64 characters.2. On some systems,

"Choose shell with Chsh"-linux command five-minute series 12

The CHSH command is used to modify your login shell.1 I want to know which shells are installed on my machine?There are two ways to view:The first type:[Email protected] ~]$ chsh-l/bin/sh/bin/bash/sbin/nologin/bin/zshThe second type:[Email protected]

tiny4412 Serial drive analysis of nine---shell terminal

PengdonglinEmail:[email protected]Development Board: tiny4412adk+s700 4GB FlashHost: Wind7 64-bitVirtual machine: vmware+ubuntu12_04U-boot:u-boot 2010.12Linux kernel version: linux-3.0.31Android version: android-4.1.2In the above we know

The small symbol reflects the big problem, the shell underline _ and the variable relationship.

I've written before. A problem was encountered when naming filenames automatically by date and time.#! /bin/"Pleaseinput the filename:" filenamedate3'2 days ago ' +%y%m%/home//home/$filename'_'/ home/"$filename _$date3"Output is three files23:22 20

Three ways to execute shell scripts

1. Bash script or SH script2,./script3,. Script or source script650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/5B/6C/wKiom1UIOtqyKgSsAADRgwmwoFU423.jpg "title=" QQ picture 20150317223121.jpg "alt=" Wkiom1uiotqykgssaadrgwmwofu423.jpg

string of Shell intercept variable

Suppose there is a variable var=http://www.linuxidc.com/test.htmA # Intercept, delete the left character, and leave the right character.Echo ${var#*//}where Var is the variable name and the # is an operator, *//indicates that the first//number and

Shell Programming Examples

1. Create 100 directories in the/home directory with a directory name of a1......a100.2. Write a script that automatically packages all files less than 5KB in the home directory into XX.tar.gz. (Hint: Use Ls,grep,find and other commands, files

Automatically download the source code _ and compile _ package _ deployment _ restart the service Shell script, source code shell

Automatically download the source code _ and compile _ package _ deployment _ restart the service Shell script, source code shell For the meaning of Shell operations, refer to my article three years ago:Http://blog.csdn.net/jadyer/article/details/796

Shell script Learning

Shell script Learning Shell script Learning Shell is a command parser that converts user-input commands into programs that can be run on the corresponding machine. Shell is a program used as an interface between the user and the linux system. It

Use shell for mathematical operations and shell mathematical operations

Use shell for mathematical operations and shell mathematical operations Availablelet,(()),[]Basic arithmetic operations, advanced operationsbcMore efficient. Let's look at the code and make the output clear.Let [Zhengweiwu ~] $ No1 = 4 [zhengweiwu ~

Total Pages: 541 1 .... 225 226 227 228 229 .... 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.