linuxkurs/beispiele/5/06-dialog.sh
2019-01-09 11:56:25 +01:00

9 lines
231 B
Bash
Executable File

#!/bin/bash
# Set PS3 prompt
PS3="Enter the space shuttle to get more information : "
# set shuttle list
select shuttle in columbia endeavour challenger discovery atlantis enterprise pathfinder
do
echo "$shuttle selected"
done