Last active
June 18, 2017 16:31
-
-
Save ask-compu/720c17f571ffe32bfd30cc5e4a7ba811 to your computer and use it in GitHub Desktop.
Putty Replacement Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS3=$'Welcome to the PuTTY replacement script.\nPick an Option: ' | |
options=("80s Apple II BBS" "Server" "Raspberry Pi" "Quit") | |
select opt in "${options[@]}" | |
do | |
case $opt in | |
"80s Apple II BBS") | |
./apple.sh | |
break | |
;; | |
"Server") | |
./server.sh | |
break | |
;; | |
"Raspberry Pi") | |
./pi.sh | |
break | |
;; | |
"Quit") | |
echo "Quitting" | |
break | |
;; | |
*) echo invalid option;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment