mkfifo
Some strings on this page have not been translated yet. You can help by translating them on Weblate.
v(uutils coreutils) 0.8.0
mkfifo [OPTION]... NOM...
Créer un FIFO avec le nom donné.
Options
--mode=<MODE>,-m <MODE>-
permissions de fichier pour le fifo
-Z-
définir le contexte de sécurité SELinux au type par défaut
--context=<CTX>-
comme -Z, ou si CTX est spécifié, définir le contexte de sécurité SELinux ou SMACK à CTX
Examples
The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.
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}}
Share your terminal session in real-time:
mkfifo {{path/to/pipe}}; script {{[-f|--flush]}} {{path/to/pipe}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.