On my system I find it under /bin/nc. In your script you could have this line:
echo "00:01:02:03:04:05 connect www.squeezenetwork.com" | nc -w 1 127.0.0.1 9090 which will work if you run the script on the server. Otherwise replace 127.0.0.1 with the server's IP address, like 192.168.1.100 The "-w 1" option make nc wait for 1 second then terminate the connection. Your script should terminate properly. -- epoch1970 ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=64121 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
