running bash program on another machine

Clark Sims clarksimsgnu@my-deja.com
Wed Oct 4 09:28:00 GMT 2000


>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@sourceware.cygnus.com



More information about the Cygwin mailing list