mkfifo
file managementLinux/Unix
The mkfifo command is one of the most frequently used commands in Linux/Unix-like operating systems. mkfifo Make FIFOs (named pipes)
Quick Reference
Command Name:
mkfifo
Category:
file management
Platform:
Linux/Unix
Basic Usage:
mkfifo [options] [arguments]
Common Use Cases
Syntax
mkfifo [OPTION]... NAME...
Options
| Option | Description |
|---|---|
-m, --mode=MODE |
Set file permission bits to MODE, not a=rw - umask |
-Z |
Set SELinux security context of each created FIFO to default type |
--context[=CTX] |
Like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX |
-z |
Set SELinux security context of each created FIFO to default type |
--help |
Display help information and exit |
--version |
Output version information and exit |
Examples
How to Use These Examples
The examples below show common ways to use the mkfifo command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.