In the shell of Linux
The IF statement determines which branch to execute through the relational operator to determine the true or false of an expression. The Shell has three kinds of if ... else statements:
If ... fi statement;
if ... else .
#if Else statement, divided into three kinds: if...fi; If ... else ... fi; If ... elif...else...fi#if Else FI statement syntax#if [Expression]#then# Statement to being executed if expression is true#else# Statement to being executed if expression is
CMake Getting Started TutorialReference: http://www.ibm.com/developerworks/cn/linux/l-cn-cmake/index.htmlOfficial website: http://www.cmake.org/Download URL: http://www.cmake.org/download/Current version: 3.1RC3This article was written based on the
In these four fires, give 2 of the most impressive example, one night more than 9 o'clock, the leader called me to say that the system of a project in Xiamen this afternoon system hang up, they do not have, I hope I can travel to support a bit, I
Compiler Development Series -- Ocelot language 1. Abstract syntax tree, -- ocelot syntax
Starting from today, I began to study and develop my own programming language Ocelot. Starting from the "self-made compiler", I continued to improve and
SDL usage, Part 1: Lex and YACCBuild a syntax analyzer for script and GUI Design
Sam lantinga and Lauren mconellLoki Entertainment SoftwareSkillednursing.comMay 2000
Content:
Another section: bison
Sublime Text 2-the Sexiest code Editor! The programmer must be an artifact! Cross-platform support Win/mac/linux, support 32 and 64-bit, support the syntax highlighting of various popular programming languages, code complement congruent ...Syntax
Quick query of Linux Shell syntax compiled by myself (comparison using C language syntax)
Although I have learned Linux Shell programming, there are only a few chance to write shell scripts (usually I write more when setting up a development
Practice LNMP full-process Shell programming: if syntax exercises, lnmpshell
#! /Bin/bash # DATE: wed Jan 17 1 # ywyankerp@163.com # this is a yankerp # The Nginx service is being installedROOT_ID = 0 ML =/usr/local/srcNGINX_ML =/usr/local/src/nginx-
If condition judgment of Linux shell script, linuxshellIF condition judgment1. Basic Syntax:If [command]; thenStatements that meet this conditionFi
2. Extended Syntax:
If [command]; then
Statements that meet this condition
Elif [command];
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.