Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Please HELP in shell script
Name: tracy Date: May 29, 2002 at 02:25:32 Pacific
Comment:
Hi, I need to run a command and hit 4 times in response to the prompts after the command is run. I don't know how to do this in a shell script. Could someone please help me? Thank you very much.
Name: LANkrypt0 Date: May 29, 2002 at 06:50:54 Pacific
Reply:
eh? Your description of the problem at hand isnt very clear. From what I gather, you need to run the script. Then hit something 4 times in response to some prompts after you run the script. (?) Can you give specific examples? Be more clear? Because to be honest, I have no idea what you are talking about. =)
0
Response Number 2
Name: James Boothe Date: May 29, 2002 at 09:30:59 Pacific
Reply:
I think Tracy wants to know how to run a command in a script and feed it answers.
Name: tracy Date: June 3, 2002 at 01:16:31 Pacific
Reply:
James, It worked. Thanks so much for your help.
Best regards, Tracy
0
Response Number 5
Name: frank Date: June 21, 2002 at 03:34:08 Pacific
Reply:
Hi Tracy,
you can alos use "yes | YourScript " you can use allways the "yes" command to produce "y" Anyway, check your oracle export script. You can prevent the confirmations by using the proper oracle parameter.
Regards Frank
No RISK no Fun
0
Response Number 6
Name: Mazhar Date: July 10, 2002 at 21:59:02 Pacific
Reply:
hello :) I want some help about Shell & EggDrop 1: What Is Shell? 2: What Shell Provide? 3: What Is EggDrop? 4: How Can We Use EggDrop ? 5: How Can We Connect Shell?
Summary: Good afternoon, I need to create a Bourne shell script to have a pop up message display user's history every time they log in my system. The pop up message will tell my users when were the last time...
Summary: Hi, I'm trying to run loops in shell scripts using the following script. loop=1 while [ loop -lt 10 ] do echo 'this is my $loop text-line' loop='expr $loop + 1' done ---- but I'm getting error: test: ...
Summary: Dear all, I wonder how to find the size of an array in shell script. For example, I declared an array as following: #! /bin/sh a = (1 adf 8 2 se) How could I get the size of the array a? I had searche...