[olug] Bash TCP scripting
georgen at neillnet.com
Fri Dec 28 22:42:18 UTC 2007
I'd recommend netcat (nc). or net pipes (faucet and hose).
On 12/28/07, Travis Owens <openbook1441 at gmail.com> wrote:
> Just out of curiosity, has anyone ever done any scripting with bash, using
> /dev/tcp or some form of socket connections? I'm looking at doing something
> bi-directional, receiving the response after the connection is established,
> parsing it, using a piece to send back and parsing the final response.
> The information I've found so far on the net, show how to establish a
> connection, but not necessarily what to do with it after it's established...
> Thanks in advance,
> Travis Owens
> Let every nation know, whether it wishes us well or ill, that we shall pay
> any price, bear any burden, meet any hardship, support any friend, oppose
> any foe, to assure the survival and the success of liberty. This much we
> pledge and more. -- John F. Kennedy, inaugural speech, January 20, 1961
> OLUG mailing list
> OLUG at olug.org
More information about the OLUG