This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]