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 [OPCIÓN]... NOMBRE...
Crear un FIFO con el nombre dado.
Options
--mode=<MODE>,-m <MODE>-
permisos de archivo para el fifo
-Z-
establecer el contexto de seguridad SELinux al tipo predeterminado
--context=<CTX>-
como -Z, o si se especifica CTX entonces establecer el contexto de seguridad SELinux o SMACK a CTX
Examples
Crea un pipe nombrado en una ruta específica:
mkfifo {{ruta/al/pipe}}
Envía datos a través de un pipe nombrado ejecutando el comando en segundo plano:
echo "{{Hola Mundo}}" > {{ruta/al/pipe}} &
Recibe datos a través de un pipe nombrado:
cat {{ruta/al/pipe}}
Comparte tu sesión de la terminal en tiempo real:
mkfifo {{ruta/al/pipe}}; script -f {{ruta/al/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.