2016年10月21日 星期五

[ShellScript] if else 使用

比大小

ret=0
if [ "$ret" = "0" ] ; then
    echo '$ret is 0'
fi

沒有留言:

張貼留言