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?
migrated from serverfault.com Aug 25 '13 at 22:50
This question came from our site for professional system and network administrators.
1) Create the first file
2) From another terminal