Unix socket simple IPC example Install xbps-install -S openbsd-netcat Server In a terminal: nc -lkU aSocket.sock Client In a seperate terminal: nc -U ./aSocket.sock Now write to any of the terminals and watch the other one update.
https://serverfault.com/questions/358866/create-unix-named-socket-from-the-command-line