The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Program that prompts for user Id mmg2711 Shell Programming and Scripting 16 10-25-2007 02:09 PM
working in different prompts gopsman Shell Programming and Scripting 3 08-30-2007 07:12 AM
password prompts balag UNIX for Advanced & Expert Users 2 01-05-2006 02:19 PM
scripting password prompts hcclnoodles Shell Programming and Scripting 3 03-21-2005 04:25 PM
Tough question - interactive prompts peter.herlihy Shell Programming and Scripting 2 02-21-2002 12:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-02-2002
ianf ianf is offline
Registered User
  
 

Join Date: Dec 2001
Posts: 29
rsh help with remote prompts

Hi,

I'm writing a shell script that rsh's onto a remote machine and runs a perl script that requires values to be entered as the script executes. I also need to ba able to see the outputs from the perl script.

When I try to run it I get an stty : Invalid argument and understand that this is due to it being run remotely.

Is there anyway to get the scripts working and displaying back correctly.

Thanx.
  #2 (permalink)  
Old 09-02-2002
janr janr is offline
Registered User
  
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
who is doing what

Hi;

With machine profide the input?

Does a remote user on the remote workstation enters the required input
or
does the local user (who started the script) enters the required input?
  #3 (permalink)  
Old 09-02-2002
ianf ianf is offline
Registered User
  
 

Join Date: Dec 2001
Posts: 29
hi,

the local user who started the script is required to input details (passwords etc) into the perl script running on the remote system....
  #4 (permalink)  
Old 09-02-2002
janr janr is offline
Registered User
  
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
as far I know

I think you can doit with

>> rsh hostname [-l username] <your script>

I beleave in this case <your script> is located on the remote host but asks for input on the calling host.

See also:
http://docs.sun.com/?q=rsh&p=/doc/80...9g1asrq&a=view
  #5 (permalink)  
Old 09-02-2002
ianf ianf is offline
Registered User
  
 

Join Date: Dec 2001
Posts: 29
when I run the command I don't see the logging that is echo'd back or the prompts asking me for input.....
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0