#where I got help from # https://en.wikibooks.org/wiki/Bash_Shell_Scripting/Whiptail#Check_list # https://serverfault.com/questions/144939/multi-select-menu-in-bash-script whiptail --title "Check list example" --checklist \ "Choose user's permissions" 20 40 4 \ "Hello" "Print Hello" OFF \ "Goodbye" "Print Goodbye" OFF \ "CYA" "Print cya" OFF \ CHOICEs=$? echo $CHOICEs if $CHOICEs = "Hello" ; then echo "you selected hello" elif $CHOICEs = "Goodbye" ; then echo "You Said Good bye" elif i$CHOICES = "CYA" ; then echo "You said cya" fi