To execute other program from already executing shell script, Programming Languages

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

Posted Date: 9/26/2012 7:54:31 AM | Location : United States







Related Discussions:- To execute other program from already executing shell script, Assignment Help, Ask Question on To execute other program from already executing shell script, Get Answer, Expert's Help, To execute other program from already executing shell script Discussions

Write discussion on To execute other program from already executing shell script
Your posts are moderated
Related Questions
Write a program to use a robot to move the stack of blocks from a source location to a target location, based. Movement of robot arms, picking and dropping, can be controlled usi

What is URL describe theri protocol? URL basicallt stands for uniform resource locator. A URL is a pointer to a particular resource on the Internet at a particular location.


Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

1.  A function that produces the Collatz sequence and counts the number of terms. 2.  A main function that calculates interesting values about the Collatz sequence. 1.The Col

need a command to : Display user id, first and last names of all the students the class specified by the prefix in alphabetical order by last name from /etc/passwd

Write a function called withdraw (in the file 'withdraw.m') that simulates withdrawing money from a bank account. The function takes a single input argument, a positive scaler doub

Define Functions with no arguments and no return values? When a function has no arguments it doesn't receive any data from the calling function. Likewise, it doesn't return any

Define The if - else - if Statement - Computer Programming? The universal form is                         if (expression 1)                         {

append two text files vertically