Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 151 Bytes
#!/bin/sh
while true; do
msg="$(date '+%Y-%m-%d %H:%M:%S') hello from ${HOSTNAME}"
echo ${msg}
echo ${msg} | nc -w 1 server 4242
sleep 1
done;