{
    "mode": "info",
    "parameter": "mkfifo",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/mkfifo/json",
    "generated": "2026-11-14T00:29:48Z",
    "sections": {
        "File: coreutils.info,  Node: mkfifo invocation,  Next: mknod invocation,  Prev: mkdir invocation,  Up: Special file types": {
            "content": "",
            "subsections": [
                {
                    "name": "12.4 'mkfifo': Make FIFOs (named pipes)",
                    "content": "'mkfifo' creates FIFOs (also called \"named pipes\") with the specified\nnames.  Synopsis:\n\nmkfifo [OPTION] NAME...\n\nA \"FIFO\" is a special file type that permits independent processes to\ncommunicate.  One process opens the FIFO file for writing, and another\nfor reading, after which data can flow as with the usual anonymous pipe\nin shells or elsewhere.\n\nThe program accepts the following options.  Also see *note Common\noptions::.\n\n'-m MODE'\n'--mode=MODE'\nSet the mode of created FIFOs to MODE, which is symbolic as in\n'chmod' and uses 'a=rw' (read and write allowed for everyone) for\nthe point of departure.  MODE should specify only file permission\nbits.  *Note File permissions::.\n\n'-Z'\n'--context[=CONTEXT]'\nWithout a specified CONTEXT, adjust the SELinux security context\naccording to the system default type for destination files,\nsimilarly to the 'restorecon' command.  The long form of this\noption with a specific context specified, will set the context for\nnewly created files only.  With a specified context, if both\nSELinux and SMACK are disabled, a warning is issued.\n\nAn exit status of zero indicates success, and a nonzero value\nindicates failure.\n"
                }
            ]
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}