{
    "content": [
        {
            "type": "text",
            "text": "# mkfifo(1) (man)\n\n## TLDR\n\n> Make named pipes, also known as First In First Out (FIFO).\n\n- Create a named pipe at a given path:\n  `mkfifo {{path/to/pipe}}`\n- Send data through a named pipe and send the command to the background:\n  `echo \"{{Hello World}}\" > {{path/to/pipe}} &`\n- Receive data through a named pipe:\n  `cat {{path/to/pipe}}`\n- Share your terminal session in real-time:\n  `mkfifo {{path/to/pipe}}; script {{-f|--flush}} {{path/to/pipe}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** mkfifo - make FIFOs (named pipes)\n\n**Synopsis:** mkfifo [OPTION]... NAME...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -m | --mode | — | set file permission bits to MODE, not a=rw - umask |\n| -Z | — | — | --context[=CTX] like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX --help display thi |\n| — | --version | — | output version information and exit |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (4 lines) — 3 subsections\n  - -m --mode (2 lines)\n  - -Z (5 lines)\n  - --version (2 lines)\n- **AUTHOR** (2 lines)\n- **REPORTING BUGS** (3 lines)\n- **COPYRIGHT** (5 lines)\n- **SEE ALSO** (8 lines)\n\n## Full Content\n\n### NAME\n\nmkfifo - make FIFOs (named pipes)\n\n### SYNOPSIS\n\nmkfifo [OPTION]... NAME...\n\n### DESCRIPTION\n\nCreate named pipes (FIFOs) with the given NAMEs.\n\nMandatory arguments to long options are mandatory for short options too.\n\n#### -m --mode\n\nset file permission bits to MODE, not a=rw - umask\n\n#### -Z\n\n--context[=CTX]\nlike -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX\n\n--help display this help and exit\n\n#### --version\n\noutput version information and exit\n\n### AUTHOR\n\nWritten by David MacKenzie.\n\n### REPORTING BUGS\n\nGNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n\n### COPYRIGHT\n\nCopyright  ©  2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later\n<https://gnu.org/licenses/gpl.html>.\nThis is free software: you are free to change and redistribute it.  There is NO WARRANTY,  to\nthe extent permitted by law.\n\n### SEE ALSO\n\nmkfifo(3)\n\nFull documentation <https://www.gnu.org/software/coreutils/mkfifo>\nor available locally via: info '(coreutils) mkfifo invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                   MKFIFO(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "mkfifo",
        "section": "1",
        "mode": "man",
        "summary": "mkfifo - make FIFOs (named pipes)",
        "synopsis": "mkfifo [OPTION]... NAME...",
        "tldr_summary": "Make named pipes, also known as First In First Out (FIFO).",
        "tldr_examples": [
            {
                "description": "Create a named pipe at a given path",
                "command": "mkfifo {{path/to/pipe}}"
            },
            {
                "description": "Send data through a named pipe and send the command to the background",
                "command": "echo \"{{Hello World}}\" > {{path/to/pipe}} &"
            },
            {
                "description": "Receive data through a named pipe",
                "command": "cat {{path/to/pipe}}"
            },
            {
                "description": "Share your terminal session in real-time",
                "command": "mkfifo {{path/to/pipe}}; script {{-f|--flush}} {{path/to/pipe}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-m",
                "long": "--mode",
                "arg": null,
                "description": "set file permission bits to MODE, not a=rw - umask"
            },
            {
                "flag": "-Z",
                "long": null,
                "arg": null,
                "description": "--context[=CTX] like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX --help display this help and exit"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "-m --mode",
                        "lines": 2,
                        "flag": "-m",
                        "long": "--mode"
                    },
                    {
                        "name": "-Z",
                        "lines": 5,
                        "flag": "-Z"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 8,
                "subsections": []
            }
        ]
    }
}