cv=1

if [ cv -eq 1 ];then

echo '$cv is equal to 1'

else

echo '$cv is not equal to 1'

fi

 

Attention : 記得if的中括號內的前後都要空一格.

文章標籤
全站熱搜
創作者介紹
創作者 JerryCheng 的頭像
JerryCheng

KwCheng's blog

JerryCheng 發表在 痞客邦 留言(0) 人氣(56)