#!/bin/bashecho "What is your favourite OS?"select var in "Linux" "Gnu Hurd" "Free BSD" "Windows" "Other"; do break;doneecho "You have selected $var"
ps :
var=`date "+%Y%m%d %H%M%S"`