source: vendor/bash/3.1-p17/tests/misc/dev-tcp.tests

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 212 bytes
Line 
1exec 9<>/dev/tcp/129.22.8.162/25
2
3read banner <&9
4echo "$banner"
5
6echo quit >&9
7
8read msg <&9
9echo "$msg"
10
11exec 9<&-
12
13# nifty date command that queries the date/time server
14cat < /dev/tcp/129.22.8.102/13
15
16exit 0
Note: See TracBrowser for help on using the repository browser.