Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server names to be choose

Status
Not open for further replies.

rawatds

Programmer
Jun 3, 2004
30
SG
Hi everybody
My requirement is :
The shell script should be able to :

1. Create a list of server names in a file
2. User would chose from the above list (to be displayed as a menu) and do the tasks as per server selected from the menu.
3. Switch-case should be flexible i.e if we delete or add any server name onto the above list it would add/delete the switch-case also(i.e. add/delete the link of the server from the menu)

Thanks in advance
rawat
 
In the man ksh output pay attention to the select builtin command.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top