Is there an easy way to create a script that will login from one UNIX
computer to another, run a program on that remote computer, and then logout?
Any help is greatly appreciated.
Please CC: me on any posts.
you have to use some 'remote shell' often called as rsh or remsh.
These will enable you to specify a command on the command line
to be executed on the remote site . As I remember, on some systems
you have to put some option in front of the comman like '-c' (command)
Reiner Miericke, Germany
: Any help is greatly appreciated.
: Please CC: me on any posts.
: Greg Keene
man rsh # on SV-ish unices
man rcmd # on BSD-ish unices
,---. ,---. ,---. ,---. ,---. ,---. ,---.
/ _ \ / _ \ / _ \ / _ \ / _ \ / _ \ / _ \
__,' `.___,' `.___,' `.___,' `.___,' `.___,' `.___,' `.__
I would like to log in to another machine, grab some files and then
launch an analysis routine that looks at the data received. Any
examples of shell scripts that do similar things would be gratefully
appreciated. (I need to understand the i/o that talks to the remote
machine from within the script, and understands enough to respond
properly). I would like to do this in sh.
IBM T.J. Watson Research Laboratory (914) 945-2573