Tagged Questions
1
vote
1answer
1k views
Unix : `nc` on Ubuntu vs Redhat (netcat)
nc -q -1 local host ${PORT} ${CMD}
In Ubuntu, nc may be used as above, with the -q option. See manpage.
-q
after EOF on stdin, wait the
specified number of seconds and then
quit. If ...