Bobby's Blog

Cool trick with make FIFOs (named pipes) – mkfifo

Bobby linux-named-pipes mkfifo

In computing, a named pipe (also known as a FIFO for its behavior) is an extension to the traditional pipe concept on Unix and Unix-like systems, and is one of the methods of inter-process communication (IPC).

Here’s a cool trick that you could try, basically you could share your screen with one of your students or co-workers, just follow these steps here:

1. You need 2 terminals open

2. In the first terminal run:

3. Then run the following:

4. Then from the second terminal run:

Once you have that ready, whatever you run on your main screen will be outputted on the second screen in real time.

Here is an example:

About the author


Linux System Administrator