![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script not working...select utility | mobydick | Shell Programming and Scripting | 6 | 05-08-2008 06:33 AM |
| Extracting select queries from script | DILEEP410 | Shell Programming and Scripting | 3 | 04-10-2008 10:16 AM |
| Select matches between line number and end of file? | Jerrad | Shell Programming and Scripting | 4 | 05-24-2006 07:50 AM |
| awk to select a column from particular line number | mab_arif16 | Shell Programming and Scripting | 4 | 05-08-2006 05:26 AM |
| Script to count unique number of user loged in | elchalateco | Shell Programming and Scripting | 1 | 09-30-2002 11:32 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
script to ask the user to select a number
hi all,
I have 4 scripts which i would need to run 1. BP.sh 2.DB.sh 3.LK.sh 4.TB.sh I would like write a script which would ask the user to select a number from 1-4 accordingly and run only that script for him/her I succeeded till reading the user input but not sure how to run that specific file ( lets say if user puts 2, then i need to run ./DB.sh) echo " Please enter any one of the following values and press Enter" echo "1 for BP" echo "2 for DB" echo "3 for LK" echo "4 for TB" echo "Enter value:" read mInputValue if ( $minputvalue = 1) then...... Thanks in advance... |
|
||||
|
works
it worx ...thnk you
|
| Sponsored Links | ||
|
|