normal 0 false false false en-us x-none


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..

Request for Solution File

Ask an Expert for Answer!!
Application Programming: normal 0 false false false en-us x-none
Reference No:- TGS0161544

Expected delivery within 24 Hours