Tag Archives: switch

Bash Switch statement

If you have some server that need some script that control it (such as scripts found in /etc/init.d), here’s that script: open a text file and put the following in : #! /bin/shcase "$1" instart) echo "START"; ## command to … Continue reading

Tagged , , | Leave a comment