028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

case基本语法

case基本使用

case "$1" in 
        "start"|"START")
        echo "$0 start"
        ;;

        "stop"|"STOP")
        echo "$0 stop"
        ;;

        "restart"|"reload")
        echo "$0 $1...."
        ;;

        *)
        echo 'please input "start|stop|restart|reload" '
        ;;
esac

标题名称:case基本语法
网页地址:http://www.tsicrk.com/article/pidcsg.html

其他资讯

让你的专属顾问为你服务

1.6667s