title: Inter-process communication without FIFOs
body: <p>Inside a BASH script we can have multiple processes running in background which intercommunicate using named pipes, FIFOs registered on the filesystem. An example of this could be:</p>
  
  <pre><code>#!/bin/bash
  mkfifo FIFO
  
  # BG process 1
  while :; do echo x; done &amp; &gt;FIFO
  
  # BG process 2
  while :; do read; done &amp; &lt;FIFO
  
  exit
  </code></pre>
  
  <p>I wonder if it's possible to do the same intercommunication between background processes of a script without using a FIFO on filesystem, maybe with some kind of file-descriptor redirection.</p>