English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

A service of my server distributes data, that can be seen using: telnet ip port [enter].

Is there any possibility to save the "answer" in a file? I would like to do it on a windows machine.
(something like redirection...)

2006-09-26 23:56:43 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

(1)
we use PUTTY to connect to our unix servers from windoze. Putty has a logging option. when you switch this on, all output on terminal can be captured to a log file.
(2) get cygwin or unixtools. something that allows you to run a bash like shell on windoze. Then you can capture the output using "script" command. you can also try redirecting the shell STDOUT file handle. Though i am not sure if that will work.

2006-09-27 00:11:54 · answer #1 · answered by rjha94 2 · 0 0

I am not sure I understand your question right, but if I do, I think you are looking for expect, which is a scripting language
Check an example here
http://www.osix.net/modules/article/?id=30

2006-09-27 07:36:13 · answer #2 · answered by Neil 5 · 0 0

fedest.com, questions and answers