Android ADB shell Tool

1. Run the following three commands under the ADB tool: Adb.exe Adbwinusbapi. dll Adbwinapi. dll File Install to c: \ windows \ system32     2. Compile a test. BAT file.   ADB push "\ 192.168.2.76 \ jiangsai \ mc850 \ library \ do not

Shell 2> & 1

I have never been familiar with Shell and used to write command> log. log 2> & 1 when reporting error logs.Today, a colleague read my shell script and asked me what I meant by 2> & 1, which really gave me a hard time.After Google, I have a rough

[Shell] Linux calculates the number of times a string "sent IP" appears in a file.

I tested the product performance a few days ago and ran for several days.Program, Stopped today, because the program is not very stable, the test is complete, it is required to count how many times the program started. So I opened the log file and

Bashdb debug shell scripts

  Recently, I started to learn bash shell. I don't know where to start, and I don't know any good tool packages to learn it. First look: Yao @ wuyao :~ $ Apt-cache search bashApparix-console-based bookmark tool for Fast File System

Simple shell command redirection

It took me a bit to write this evening. It started with argv, which is a two-digit array.ProgramIt is always not displayed. later it was found that execvp only supports pointer array =. = Okay ....Program idea: After the sub-process is enabled,

Printf and shell touch

Formatting: printf'print format' actual contentWhat are the characters represented by the value 45?Printf'/x45/N' Note:/xnn is a two-digit number, which can be converted into characters. Introduction to SED and awk tools:You can analyze the

Tips for replacing strings in a shell

Replace, which is included with MySQL. Usage (matching is based on the comparison length ):Replace from to [from to]... -- file 1 file 2-- The following file list may also be changed to standard input. For example: Stlxv @ stlxvcomputer :~ /

Linux Shell queries data from databases and sends emails in CSV format

$ ORACLE_HOME/bin/sqlplus-s username/password @ InstanceName>/dev/null 2> & 1 # Set sqlplus, make it output only the required text set echo off set pagesize 0 set verify off set feedback off set termout off set linesize 3000 set trimspool on

Unix shell programming (2)

Unix shell programming (2)   Character matchingThe asterisk (*) matches more than 0 characters, and the question mark (?) Match 1 character.For example:Ls [A-Z] * [0-9]Displays the list of objects whose names start with lowercase letters and end

Enable the Windows GNU Emacs shell to start cygwin bash by default.

Victor, a friend of the district, told him that he planned to switch to the cygwin version of Emacs. In order to integrate the bash environment when he developed MTK more conveniently.   I also Google cygwin Emacs and other topics here .. The

What about Linux (13) -- shell programming

Before writing an article, I want to know what shell programming is and what is the difference between shell programming and C/C ++ programming? I understand that shell programming is to use Linux operating commands to program according to certain

Shell in makefile

Extract a section in makefile that calls shell. Install:-If [! -E xxx]; then sudo mkdir xxx; FI Note: To write the above if statement to a row, you must add a semicolon before fi; otherwise, the following error will occur.Unexpected end of File The

Shell string Truncation

Removes the leftmost character from the string. [admin@v035114 ~]$ vi test.sh 1 STR="abcd" 2 STR=${STR#"a"} 3 echo $STR 4 STR=${STR%"d"} 5 echo

Linux Shell counts the number and replacement of words

1. count the number of occurrences : % S/178 // ng Text Test 711[10.235.170.22:8123] 0 10.232.20.178 1648042 1648042 0 2013-07-29 20:01:35711[10.235.170.22:8123] 11 10.232.20.178 6445135

Shell script Nic traffic statistics)

#! /Bin/bashIf [-n "$1"]; thenEth_name = $1ElseEth_name = "eth0"FiI = 0Send_o = 'ifconfig $ eth_name | grep bytes | awk '{print $6}' | awk-F: '{print $2 }''Recv_o = 'ifconfig $ eth_name | grep bytes | awk '{print $2}' | awk-F: '{print $2 }''Send_n =

Find in Linux Shell

Post address: cy158358.cublog.cn    #! /Bin/shcheck_patch () { Test-d $1 Return } # Check whether the path exists Check_patch $2 If [$? -Ne 0] Then Echo "No such path $2" Exit 1 Fiif ["$1" = "name"] Then # Searching for TXT files Echo "--------------

Shell programming (2)-Use Find and xargs

1,Find Command OptionsThe f I n d command has many options or expressions. Each option follows a horizontal bar -.-Name: searches for files by file name.-Perm searches for files based on the file permissions.-Prune can use this option to make the f

Implement a shell script for folder Synchronization

Implement a shell script for folder SynchronizationAlgorithm:   1. First find/pathname-print> filea # Get the full names of all files in the two folders. 2. Compare files. Delete unnecessary files in the folder to be synchronized. Then obtain the

Shell script Control Service Startup

/* =================================== Startacct. sh ===================================== */ #!/usr/bin/ksh./vbsvr_boot_boss.sh -s ./boss_server.lst > vbsvr_boot_boss.log & /* ================================= Vbsvr_boot_boss.sh ==================

Superbull shell command

SAs the most attractive and indispensable component in UNIX operating systems, hell has not only not been eliminated after dozens of trials, but also become more mature and stable, probably because it is a very solid adhesive that can match a large

Total Pages: 541 1 .... 532 533 534 535 536 .... 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.