The input command was used in the gamma automated test of the LCD module recently, so we also learned about the use of the command. When you run the ADB shell and then enter input, the operation will output input using the following
Requirement-driven Linux Shell Programming
Requirement-driven Linux Shell programmingtable of Contents
1. Where can I find the basic Material about Linux Shell programming?
2. How to time a function/program (Get the execution time of a
The above summary of the shell, all reproduced to the following blog:Linux Shell Common Skills (i)Http://www.cnblogs.com/stephen-liu74/archive/2011/11/10/2240461.htmlI. Special documents:/dev/null and/dev/ttyTwo. Simple command trackingThree.
Transferred from: http://www.linuxidc.com/Linux/2011-09/42929.htmWhen using the shell under Linux, for convenience, an array is occasionally used. The way the array is declared is:
array= (element1 element2 element3 .... elementn)
That
Before the HTML "TARGET=_BLANK>XP using the Control Panel CPL file left the back door, and then with the. cpl file Plus account technology, LCX really very powerfulToday, we studied the user Control Panel file nusrmgr.cpl, found that the call is
Recently, Google was completely banned, and the code hosted on the Google SVN server was inaccessible.It's a waste of things. I unloaded the slow Win8 running in my old notebook, installed Ubuntu, mounted the svn server, and managed some personal
Using sh to write some small scripts will make the work easier, and some content may be unfamiliar to everyone (at least I am ),It is variable-related parameter expansion. Below are some simple descriptions and usage, which can make the code more
Scan all hosts in the network segment. Online hosts are displayed in green. Offline hosts are displayed in red;
Finally, the numbers of online and offline hosts are displayed respectively;
In order to practice shell, only the for loop is used here,
The structure features of all return texts are as follows:
If the number of characters is an even number, it is structured as: A Character Sequence is connected to another character sequence with the same but the opposite order.
If the number of
The columns in the text line are broken:
Awk 'in in {srand ()} {for (I = 1; I
The lines in the text line are broken down:
Awk 'in in {srand ()} {B [rand () Nr] = $0} end {for (X in B) print B [x]} 'Data
Shuf-n1000 data
Use a.txtas the patternto
Requirement: create 10 SYSTEM account oldboy01-oldboy10 in batches and set to generate password (different password ).
Implementation script:
#!/bin/bash#Question3for i in $(seq -w 10)do useradd -s /bin/bash oldboy$i echo "password$i"
Tag: style blog HTTP color file 2014
Recently, when learning about Jenkins, there is a problem: the number of subdirectories under the Linux ext3 system directory cannot exceed 31998 (refer to: http://www.xshell.net/linux/1267.html), but Jenkins
Background:Access to Site Resources outside China is sometimes very slow. an occasional download is certainly tolerable. It is a wise decision to build an image site for multiple use or internal use by a small team.This section uses the yum source
# Linux LVM Tool full version: http://xin23.blog.51cto.com/1827266/1198836 (update 2013.5.13)
# Scripts are only used for communication and learning!# The current script version is 1. 0. creates, removes, changes (enables/disables allocation),
(Linux shell) Chapter 1-test the knife (on) and test the knife
Source: (linux shell) Chapter 1-test tool (I)
From today on, let's take a look at the book "linux shell script strategy.
1.1 Introduction
A shell script is usually #! The starting text
When writing a program, printing out the progress or log information properly often helps us track the running results of the program. However, printing these results or logs on the screen does not serve as a basis for future checks. This is the
Preparation: 1. Prepare the rpm file to be installed.2. Write the rpm file to the file list pkg. lst (the file name is optional)3. install. shDirectory structure|-Install. sh|-Pkg. lst|-Readme.txt|-Xxxx. rpm|-Yyyy. rpm|-Installation process: 1. Put
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