Sponsored Content
Top Forums Shell Programming and Scripting User interaction that passes the answer to a variable Post 302587532 by CarloM on Thursday 5th of January 2012 07:31:55 AM
Old 01-05-2012
Use read.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Want to create new users without using "useradd" command and user Interaction.

Don't want to use useradd command to create a new user I am doing manual addition of accounts. Actually I am writing a script and I am working on RedHat7.1 system. What I am trying to do is run the script and pass all the values of the username password and group as command line parameters. Now... (2 Replies)
Discussion started by: syedifti
2 Replies

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

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

4. Programming

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... (0 Replies)
Discussion started by: wrapster
0 Replies

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

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. 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
answer(1)						      General Commands Manual							 answer(1)

NAME
answer - phone message transcription system SYNOPSIS
DESCRIPTION
The interactive program helps you to transcribe telephone (and other) messages into electronic mail. The program uses your personal alias database and the system alias database, allowing you to use aliases to address the messages. Options supports the following options: Prompt for phone-slip-type message fields. Allow addresses that are not aliases. Operation begins with the prompt. Enter a one-word alias or a two-word user name ("Words" are separated by spaces.) The user name is converted to an alias in the form where f is the first character of the first word, lastword is the second word, and all letters are shifted to lower- case. For example, is converted to the alias Without the option, the specified or converted alias must exist in the alias databases. With the option, if the processed "alias" is not in the alias databases, it is used for the address as is. The fully expanded address is displayed. With the option, you are asked for typical message slip data: Enter the appropriate data. You can put just an or nothing after the pertinent dash prompts, or you can type longer comments. Whatever you enter becomes part of the message. Lines with no added text are omitted from the message. Finally, you are prompted for a message. Enter a message, if any, ending with a blank line. The message is sent and the prompt is repeated. To end the program, enter any one of or at the prompt. EXAMPLES
User input is in normal type. With No Options This example shows a valid alias, an invalid user name, and a valid user name. In the invalid case, the converted alias is displayed in square brackets. With the -u Option If you enter the previous error is treated differently. With the -p Option If you enter the phone-slip prompts are added. The three lines with no added text are deleted from the message. FILES
User alias database data table User alias database directory table User alias database hash table User alias source text System alias database data table System alias database directory table System alias database hash table System alias source text Outbound mail message edit buffer AUTHOR
was developed by HP. SEE ALSO
elm(1), newalias(1). answer(1)
All times are GMT -4. The time now is 07:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy