I have a binary file that is being written to continuously. I need to read the full content of that file to a pipe (either to nc
or to a FIFO) and keep reading it while its is written (i.e. the receiver will not read EOF, but will block until more data is available).
How to do it? Is there a one line shell trick to do it?