Here is the IIS server, in fact, peanut shells under the normal use of Apache, which I have in the previous post has been said, now specialized in Apache configuration for a detailed description:
First: Of course, the download Apache, Apache is
Concept
SSH means that the secure SHELL,SSH protocol family is developed by the network Working Group of the IETF (Internet Engineering Task Force), The content SSH protocol of SSH Protocol is a security protocol based on application layer and
"13.1" What is shell script.
1 shell script is a "program" written using the function of the shell, which uses a text file to write some shell syntax and commands (including external commands) inside, with regular representations, pipeline
if logic judgment in shell scripts
Logical judgment Expression:
-GT (>); Greater than great than
-lt (=); Greater than or equal to
-le (
If logical judgment format:
Format 1:if condition; Then statement; Fi
format 2:if condition; then
#!/bin/shPs-fe|grep processstring |grep-v grepIf [$?-ne 0]Thenecho "START process ..."Elseecho "Runing ..."Fi#####Processstring represents a process feature string that can be queried for a unique process's characteristic string0 indicates the
Note content:8.6 pipe symbol and job control8.7/8.8 Shell Variables8.9 environment variable configuration fileNote Date:2017.8.158.6 pipe symbol and job control 650) this.width=650; "src="
1.ShellThe Shell is the user interface of the Linux system and provides an interface for users to interact with the kernel. It receives the command entered by the user and feeds it into the kernel to execute .The shell is also known as the LINUX
Ext.: http://blog.csdn.net/ithomer/article/details/7954577Shell function return value, generally there are 3 ways: Return,argv,echo1) Return statementThe return value of the Shell function, which can be returned by a return statement, as the return
Bash shell scripting Getting Started (iii) cycleWhat is loop execution?To run a code segment repeatedly multiple timesHow many times to run repeatedly:Number of cycles known beforehandNumber of cycles unknown beforehandThere are entry conditions and
The main contents of this section:Use shell scripts to monitor the load, CPU, memory, hard disk, and user logins of Linux systems.One, Linux system alarm mail script# vim/scripts/sys-warning.sh#!/bin/bash#site:www.jquerycn.cn# Monitoring System load
The main interface between the operating system and the outside is called the shell. The shell is the outermost layer of the operating system. The shell manages your interactions with the operating system: waiting for your input, explaining your
Do monitoring and backup up to1. What is a shell script?It's a scripting language, not a programming language.You can use some logical judgments, loops, and other syntaxYou can customize the sub-functionis a collection of system commandsShell
Break in a Linux script continue exit returnBreakEnd and Exit loopsContinueThe following code is not executed in the loop and continue into the next round loopExitExit the script,Always bring an integer to the system, such as Exit 0ReturnReturning
This article provides an improved version of Mac OS X RAM disk (memory disk) creation program and practical instructions.ConcernsMac Thunder Download ioPS is too high, may be not using the cache, which causes the disk squeak, so worry about the disk
Directory:CD: Switch directoriesCD path: Switch to the file pathCD ~[username]: Switch to the user's home directory,CD-: Switch to the directory where you firstPwd:pring working directory: Displays the current directorymkdir: Creating a Directory-P:
20.16/20.17 functions in the shell• The function is to organize a piece of code into a small unit, and give the small unit a name, when the code is used to call the name of the small unit directly.Format: function F_name () {Command}The function has
The file is from the Dark Count of cnblogs,ArticleAddress: http://www.cnblogs.com/hangxin1940/archive/2011/07/10/2102087.html
Previously, it was a Windows shell, and the dark count was changed to the Linux version. This is the complete package:
Use bin/hadoop FS to call the File System (FS) Shell Command. All FS shell commands use the URI path as the parameter. The URI format isScheme: // authority/path. For HDFS file systems, scheme isHDFSFor the local file system, scheme isFile. The
The color code is basically clipped between "\ e [" and "m": \ e [32; 1 m
You can use \ e [0 m to disable color output. In particular, when B is set to 1, the highlighted and bold text is displayed.
Common color codes:
Foreground background color
-
1. shell scripts are case sensitive2. Special Unix characters: (; $? & * () [] ''+ Escape ()3. Shell Comments start #4. Function DefinitionFunction fuction_name (){Command to execute}Function_name is directly used for calling.5. Control Structure1)
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