My brain isn't fully engaged yet today..or rather, it seems to be engaged with a brick wall.
I've often used netcat in the past to issue one-way CLI requests to the server, e.g.: echo 'rescan' | nc -w10 localhost 9090 ..and that works fine. But how do you get nc to return CLI data from it's session with SBS? Why does: # echo 'serverstatus' | nc -w10 127.0.0.1 9090 ..return nothing? What do I have to do to script netcat CLI transactions that return data with a local SBS? I'd rather not try to script telnet via 'expect' as this script will be run on an OSX system and 'expect', AFAIK, isn't readily available on OSX. -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=83539 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
