X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <io9o57$4v2$1@dough.gmane.org>
References: <31403137.post@talk.nabble.com>	<31404379.post@talk.nabble.com>	<io9o57$4v2$1@dough.gmane.org>
Date: Fri, 15 Apr 2011 19:38:06 +0400
Message-ID: <BANLkTi=2D65c8mgY2WCMHSmZaddTn7=9Ww@mail.gmail.com>
Subject: Re: Can cygwin replace win-bash under Windows 7?
From: Kostya Altukhov <kacygwinlist@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

>>> echo !TC | C:/win-bash/nc 192.172.1.6 80 > ScanFile.dta
>>> p.s. nc = netcat and I know I need an alternative sooner rather than
>>> later
> I suspect your question is more about win-bash's nc, which seems to be
> a simple way to sent a command to a port on a machine which even
> telnet can do though I'm not sure in a scriptable fashion. Perl and Expect,
> etc. can accomplish this quite easily though (and Cygwin has both of them).

nc itself (netcat) is available in Cygwin, too.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

