Sponsored Content
Top Forums Programming Needed help in a ruby script with user interaction involved! Post 302222319 by wrapster on Wednesday 6th of August 2008 01:52:43 PM
Old 08-06-2008
Needed help in a ruby script with user interaction involved!

Hi all,

I am struck at this point and needed some help in ruby
I wanted to write a script that accepts the no of VNICs the user wants to create and
then ask for the name of each Vnic he wants
then use these names to create the corresponding Vnics

Eg: suppose that there are 2 Vnics to be created
Then the user should be asked for the names of these and upon entering the names the corresponding ones are created

PS: this is actually a part of the wrapper script that i am struck with!
The command to create the Vnic is already present i just need to know how to include the names provided by the user into the command so that the job is done!

Could anyone please help me
Thanks
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Can i enter password with out user interaction

Can any body help me to write a scripting program for entering a password at run time with out user interaction. (1 Reply)
Discussion started by: kumar_d
1 Replies

2. UNIX for Dummies Questions & Answers

booting up but the system was waiting for user interaction at console

Hi all, My ssytem is mounted on a rack and not connected with any console. When I rebooted it remotely, it didn't go thru the bootup process. when I connect my laptop to the system locally and found that it was waiting for user interaction. Do you know how to disable it, so that it will boot... (1 Reply)
Discussion started by: stancwong
1 Replies

3. Shell Programming and Scripting

textbox and user interaction

I'm wanting to get user interaction...textbox or checkboxes would be great. I want to allow someone to enter data into textbox. (this is the time I want to grab a photo from) Then I want to be able to check the different sizes I want for the image. Say 4 options. Is this possible using the... (0 Replies)
Discussion started by: mainegate
0 Replies

4. Programming

Needed help in web development where libraries are written in Ruby!!!

Hi all, I have developed a couple of libraries using ruby for my networks project.Its completely done except for a GUI for the front end. But i am in a fix to know what i need to be using for its development. I initially had plans of using ROR but there is absolutely no DB management that is... (1 Reply)
Discussion started by: wrapster
1 Replies

5. UNIX for Dummies Questions & Answers

tip: Simple script won't run in cygwin - vim editor involved

I ran into this issue and thanks to various postings in various forums, was able to figure out the solution but didn't see one posting that laid the whole issue out cleanly. So thought the following might help others ... ------------------------------------------------------------------------... (2 Replies)
Discussion started by: oxysep
2 Replies

6. Solaris

Zlogin -C with out user Interaction how to proceed?

Hi Guys, I have one requirement like if we run install.sh file it should have to create a zone and install oracle in that zone with out any user interaction. So the complete code should be automated. Almost 90% of the code I completed but i am having some doubts 1) After the zone creation... (1 Reply)
Discussion started by: vijaysachin
1 Replies

7. Shell Programming and Scripting

Here document supports user interaction?

Hi, I am trying to ssh into a remote machine and then enter a vserver on the remote machine. I am using here document to carry out these commands on the remote machine. My here document looks like this ssh username@remotemachine << HERE sudo vserver vservername enter HERE however the sudo... (0 Replies)
Discussion started by: mnanavati
0 Replies

8. Shell Programming and Scripting

User interaction that passes the answer to a variable

Please tell me how to write a bash script that asks the user to enter a word and that passes the entered word to a variable. echo "Type a word and press the Enter key:" myVar=`cat` echo "You entered $myVar" The above code is very awkward, because it requires the user to enter... (2 Replies)
Discussion started by: LessNux
2 Replies

9. Programming

Running plink with user input interaction from vb.net

Hi there, I am trying to run a .sh file with plink from vb.net. I am now able to run the .sh on vb.net but i have a problem because the .sh script require user input: The .sh is prompting a few question and require user to input y/n to proceed. I am trying... (3 Replies)
Discussion started by: yun
3 Replies
murmur-user-wrapper(1)					      General Commands Manual					    murmur-user-wrapper(1)

NAME
murmur-user-wrapper - User wrapper for murmurd. SYNOPSIS
murmur-user-wrapper [options] DESCRIPTION
Murmur is the server component of Mumble, a low-latency, high quality VoIP application. Murmur-wrapper is a wrapper script to make it eas- ier for normal users to set up their own, private murmur server. OPTIONS
-d "directory" Set directory to use. By default, the wrapper script uses $HOME/murmur -s Check if murmur process is running. -k Terminate running murmur process. -i Initialize only, do not start the server. -p "password" Specify password for the SuperUser account and exit. SuperUser is the mumble equivalent of root, a special user which bypasses all access restrictions. NOTES
To create your own private server, you first want to run murmur-user-wrapper -i Then edit ~/murmur/murmur.ini to set the various configuration settings. The most important is probably the port; unless you're the only murmur process running on this server, you'll need to change it. When you're happy with your settings, you need to set the password for SuperUser, which is your administrator account. murmur-user-wrapper -p <password> Once this is done, simply run murmur-user-wrapper to start the server. SEE ALSO
murmurd(1). AUTHOR
mumble and murmurd was written by Thorvald Natvig <slicer@users.sourceforge.net>. 2008 May 09 murmur-user-wrapper(1)
All times are GMT -4. The time now is 04:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy