shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RES: [shell-script] Script cliente/servidor


From: Thobias Salazar Trevisan
Subject: Re: RES: [shell-script] Script cliente/servidor
Date: Thu, 12 Jun 2003 16:32:14 -0300 (BRT)

ae rodolfo,

On Thu, 12 Jun 2003, Rodolfo Villanova wrote:

> Conheces comandos semelhantes ou portáveis para serem executados em
> outros ambientes *n?x (tipo SunOS, p/exemplo)?

hmm, um teste seria baixar o bash e compilar. Não sei como ele
implementa o /dev/tcp. de repente funciona em outros UNIX.

outra alternativa é usar o próprio netcat (nc).

$ nc -l -p 1025

e na outra máquina.

$ nc localhost 1025 # modo interativo

ou

$ echo capitao caveeerrnnnaaaaa | nc -q1 localhost 1025

[]'s

thobias
-------
echo 9446046325380026818553633794429812592304650P | dc
-------
http://www.lcp.coppe.ufrj.br/~thobias

____________________________
|
| Against - HTML Mail
| Against - MS ATTACHMENTS
|
----------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]