[RndTbl] Shell programming question

Bill Reid billreid at shaw.ca
Sat Apr 2 20:31:20 CST 2005


John Lange wrote:

> 
> http://advbash.activeventure.net/index.html
> 

I glanced at this reference and found it quite good. I also learned 
something new.

Bash will open a network connection using the syntax

/dev/tcp/host/port

or

/dev/udp/host/port

An example connecting to the "daytime" port:

$ cat </dev/tcp/time.nist.gov/13
53463 05-04-03 02:27:51 51 0 0 269.6 UTC(NIST) *

-- Bill







More information about the Roundtable mailing list