echo command | netcat host port
这导致命令被发送到远程主机并且一些数据被读回。但几秒钟后,连接关闭。-w 参数没有改变任何东西。我在 SuSE 10.1 上使用 netcat v1.10。
netcat
netcat ×1