diff --git a/pages/common/mkfifo.md b/pages/common/mkfifo.md index 87a580051c..3e3e8f6f1b 100644 --- a/pages/common/mkfifo.md +++ b/pages/common/mkfifo.md @@ -6,3 +6,11 @@ - Create a named pipe at a given path: `mkfifo {{path/to/pipe}}` + +- Send data through a named pipe and send the command to the background: + +`echo {{"Hello World"}} > {{path/to/pipe}} &` + +- Receive data through a named pipe: + +`cat {{path/to/pipe}}`