mkfifo Command Examples

Make FIFOs (named pipes). More information: https://www.gnu.org/software/coreutils/manual/html_node/mkfifo-invocation.html.

mkfifo {{path/to/pipe}}

echo "{{Hello World}}" > {{path/to/pipe}} &

cat {{path/to/pipe}}

mkfifo {{path/to/pipe}}; script -f {{path/to/pipe}}