Friday, 23 August 2013

Cat into fifo not running through bash

Cat into fifo not running through bash

I want to script these few lines
mkfifo my.fifo
cat >my.fifo &
cat my.fifo | nc remotehost.tld 10000
But the line
cat >my.fifo &
When i run it manually it works, but not through bash shell. what could be
the reason for it?

No comments:

Post a Comment