W.A.S.S to execute another program from an already executing shell script.
Program
# W.A.S.S to execute another program from an already executing shell script.
#07MCG20
echo -e "Enter the choice:\c"
read c
case $c in
1)
sh good.sh
echo "Welcome to SVIT"
;;
2)
sh userin.sh
;;
esac
Output
Enter the choice
1
Good Evening!
Welcome to SVIT
Enter the choice
2
Enter the user name:
root
User is logged in..