1) Create the first file
#!/bin/bash
mkfifo my.fifo
trap 'rm -f my.fifo' EXIT
cat
nc localhost 2345
2) From another terminal
cat >my.fifo
1) Create the first file
#!/bin/bash
mkfifo my.fifo
trap 'rm -f my.fifo' EXIT
cat
nc localhost 2345
2) From another terminal
cat >my.fifo