This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Can cygwin replace win-bash under Windows 7?
>>> 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