Results 1 to 1 of 1
Thread: Help with netcat & named pipes
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2011
Help with netcat & named pipes
This is what I am doing so far:
Host A (192.168.0.1):
mkfifo fifo nc -lp 9000 | while read data; do echo $data >fifo; done
mkfifo fifo tail -f /dev/null | nc 192.168.0.1 9000 <fifo
for x in `seq 1 10`; do echo $x >fifo; done
tail -f fifo 1 [no more output]
Thanks in advance.