ADB introductionThe SDK's Tools folder contains an important command of the Android emulator Operation ADB,ADB is all called (Android Debug Bridge is the role of debug bridges. With ADB we can debug Android programs via Ddms in Eclipse. With this
The first part: Shell introductionCommand Interpretation Language programming languageWhen a user logs on to a Linux system, a shell process is created for that user.Shell version:Bourne Shell: A shell developed by Bell Labs that is commonly used by
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.
1.shell variablesLocal variables:A=1 (no spaces on both sides of the equal sign)Read-only variables:ReadOnly variable name = variable value (cannot be changed during use)Declaring variables:Linux assigns a value to a variable by default as a
Linux shell commandWhat is a shell?The Shell is the interface that connects the operating system kernel to the user.The terminal is the representation of the shell.What is Shell programming?The Shell scripting language, together with the Linux
Break: exit the loop body continue: ends this loop and enters the next loop.Special usage of while 1: While: dodone the above is an endless loop of while.Special while usage 2: While read linedodone Function: FunctionSyntax format: Method 1:
Instance 1: Step 1: Use VI to create a file **. Sh (this is not introduced here) #! /Bin/bash Note: This specifies the shell to explain the following command. CD/var/log # Switch the directory to/var/log (# It is the annotator in
I have heard that dreamhost only supports shell, but it has never been used. It is mainly because it is not very necessary before and has not uploaded many things.
Recently, due to the fact that a large number of files have to be uploaded, the
Understanding and learning Shell
The shell version used in Linux is called "Bourne again shell (BASH)". This shell is an enhanced version of the Bourne shell and developed based on the GNU architecture.BASH Shell functions
1. Command memory function:
Note: To use this shell, you must first successfully create the memcache environment 1 and create the memcached file and permission [email protected] ~] # Touch/etc/init. d/memcached [[email protected] ~] # Chmod + x/etc/init. d/memcached2 write the
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,
I don't have a tutorial. Let's talk about it!We get a shell. If we want to know more about it, we can't trace it in depth. There is no shortcut! You have to pay a lot of time and thinking and analysis. If you cannot do this, please give up. It is
Why shell script classification: Linux Shell script learning 78 people read comments (0) the add-to-favorites shell script task job s h e l script saves a lot of time in Processing Automatic loops or large tasks and is powerful. If you have a
1. First, cut Apache logs by day
VI/etc/httpd/CONF/httpd. confErrorlog "| rotatelogs/var/log/httpd/% Y % m % derror_log 86400 480 ″Customlog "| rotatelogs/var/log/httpd/% Y % m % daccess_log 86400 480" combined
Ii. Restart Apache server
Service
Both $ * and $ @ provide quick access to all parameters, both of which can store all command line parameters in a single variable.
$ * The variable saves all the parameters provided on the command line as a single word and is treated as a single
(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
[Sed introduction:]
Sed is a good file processing tool. It is a pipeline command and can be used to add, select, replace, or delete data rows. Sed command line format: sed [-nefri] 'range command' file such as: sed '2d 'aaa.txt # Delete the second
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.