delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/04/12:29:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 4 Oct 2000 09:32:26 -0700
Message-Id: <200010041632.JAA29029@mail13.bigmailbox.com>
X-Mailer: MIME-tools 4.104 (Entity 4.116)
Mime-Version: 1.0
X-Originating-Ip: [63.248.165.238]
From: "Clark Sims" <clarksimsgnu AT my-deja DOT com>
To: mike AT erdelynet DOT com, cygwin AT sources DOT redhat DOT com
Subject: Re: running bash program on another machine

>Clark,
>  What are you trying to do?  

I am trying to update databases of prices. I use S+ to call Bloomberg's DDE server. A typical set of commands, under bash, would look something like:

//d/sp2000/cmd/splus.exe S_PROJ=D\:\\SP2000\\READDATA S_PREF=D\:\\SP2000\\USERS\\JOHNL /Batch_Prompts min /BATCH ..\\roll\\fxdncm.txt fxdncm.out.txt fxdncm.err.txt

//d/sp2000/cmd/splus.exe S_PROJ=D\:\\SP2000\\READDATA S_PREF=D\:\\SP2000\\USERS\\JOHNL /Batch_Prompts min /BATCH ..\\roll\\fxdncmxtu.txt fxdncmxtu.out.txt fxdncmxtu.err.txt

> You can do this using RCMD (NT), 

I found 2 mentions of rcmd on the Microsoft site:
http://www.microsoft.com/WINDOWS2000/guide/server/solutions/unixutilities.asp
http://www.microsoft.com/windows2000/library/resources/reskit/default.asp

I am not sure what to make of rcmd. It looks like it is intended for windows 2000, not NT.

> Telnet (NT or Cygwin) 

I have tried to telnet to the computer. I know its IP address and the user names and passwords for the computer. I can't log into the other computer. Do I need to set up something special on the other machine?

or SSH.

I found http://www.ssh.org/

I am not sure where to start. Do you have any suggestions on a quick and dirty how-to? 

For example, how do I log onto another machine and:
  1) specify the current working directory
  2) look for the contents of the directory
  3) execute a file in that directory
  4) specify a search path
  5) execute a file on the search path, in the current working directory

Thanks in Advance,

Clark  





------------------------------------------------------------
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019