1) i want to write unix script which is like this
echo "Do u want to check application logs ???"
select opt in Yes No
do
case $opt in
"Yes")
commmands
;;
"No")
break
;;
esac
done
echo "Do u want to check non-application logs ???"
select opt in Yes No
do
case $opt in
"Yes")
commmands
;;
"No")
break
;;
esac
done
here after executing the first part its exiting and its asking the same thing again and again its not going to the other part i.e non-application logs
2)is this possible to use the two select and two case statements in the unix shell scripting if it is do please let me knoe the syntax.