Created
April 22, 2013 11:52
-
-
Save professorjamesmoriarty/5434346 to your computer and use it in GitHub Desktop.
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
| #!/bin/bash | |
| echo "MOTD or whatever here or there.." | |
| PS3="Your Game choice: " | |
| cd /home/shaggy/Testingfolder/games | |
| select FILENAME in *; | |
| do | |
| case $FILENAME in | |
| *) | |
| echo "You picked $FILENAME ($REPLY)" | |
| ls "$FILENAME" | |
| ;; | |
| esac | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment