[ale] Question for UNIX/Linux gurus...

Thompson Freeman tfreeman at tfreeman.vnet.net
Fri Jul 16 17:38:26 EDT 1999


While I don't remember the command, expect _is_ quite usable for such a
task.

On Fri, 16 Jul 1999 ryan at linuxgeneralstore.com wrote:

> 
> You may want to look at the expect scripting language.  From what I
> understand, it is made to automate tasks like that.  If you are just
> wanting it to log in and change to that directory and let it sit, this is
> probably not the way to go.  I would think telnet, or some replacement
> thereof, would have some way to specifiy the initial directory.
> 
> #############################
> #Ryan Bridges               #
> #ryan at linuxgeneralstore.com #
> #############################
> 
> On Fri, 16 Jul 1999, Justin Russell wrote:
> 
> > I am trying to set up an alias that will rlogin to a remote machine and change directory to the exact
> > 
> > directory I am on on my local machine.  Anyone know how to do this in sh or ksh?  I have the
> > 
> > exact same directory structure (except $HOME) on both machines.  I have looked at the man pages
> > 
> > on rlogin and telnet and I dont see any way to login to a machine and execute a command all in one command
> > 
> > except with rsh, which logs out afterward.
> > 
> > Any help appreciated,
> > 
> > Justin
> > 
> > /\/\/\/\/\/\/\/\/\/\/\/\/\//\/\/\/\/\/\
> >  Justin W. Russell
> >  Engineer, Aerodynamics/CFD
> >  Lockheed Martin Aeronautical Systems
> >  86 South Cobb Drive
> >  Marietta, GA  30063-0685
> > 
> >  Tel:  (770) 494-6303
> >  Fax:  (770) 494-3055
> > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> > 
> > 
> > 
> 

=========================================================
Thompson Freeman           Even the Immortal Brahma
                           Shaves before he hugs his mama
tfreeman at vnet.net          Karma Shave
========================================================






More information about the Ale mailing list