1. 程式人生 > >case選擇語句

case選擇語句

nbsp case service ice bsp bash apach php ech

#!/bin/bash case $1 in Apache ) echo "Pleash install apache service" ;; Mysql) echo "Please install mysql service" ;; PHP ) echo "Please install PHP service" ;; * ) echo "Please help" esac

case選擇語句