Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Case/switch

case "$1" in
  start | up)
    vagrant up
    ;;

  *)
    echo "Usage: $0 {start|stop|ssh}"
    ;;
esac
Source by devhints.io #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+7 =