Basic syntax of case
Case basically uses 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 basically uses 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