Linux if语句详解
详细讲解了Linux中if语句的使用脚本示例:#!/bin/bash#Thisscriptprintsamessageaboutyourweightifyougiveityour#weightinkilosandhightincentimeters.if[!$#==2];thenecho"Usage:$0weight_in_kiloslength_in_centimeters"exitfiweight="$1"height="$2"idealweight=$[$height-110]if[$weight-l
下载地址
用户评论
非常详细,非常受用
很全啊,很有用!!值得下载
还行,比较有用
if 语句介绍的很全。