1
0
Fork 0
bash/tests/misc/dev-tcp.tests
Daniel Baumann fa1b3d3922
Adding upstream version 5.2.37.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:21 +02:00

16 lines
212 B
Text

exec 9<>/dev/tcp/129.22.8.162/25
read banner <&9
echo "$banner"
echo quit >&9
read msg <&9
echo "$msg"
exec 9<&-
# nifty date command that queries the date/time server
cat < /dev/tcp/129.22.8.102/13
exit 0