{
    "content": [
        {
            "type": "text",
            "text": "# nohup (man)\n\n## NAME\n\nnohup - run a command immune to hangups, with output to a non-tty\n\n## SYNOPSIS\n\nnohup COMMAND [ARG]...\nnohup OPTION\n\n## DESCRIPTION\n\nRun COMMAND, ignoring hangup signals.\n\n## TLDR\n\n> Allows for a process to live when the terminal gets killed.\n\n- Run a process that can live beyond the terminal:\n  `nohup {{command}} {{argument1 argument2 ...}}`\n- Launch `nohup` in background mode:\n  `nohup {{command}} {{argument1 argument2 ...}} &`\n- Run a shell script that can live beyond the terminal:\n  `nohup {{path/to/script.sh}} &`\n- Run a process and write the output to a specific file:\n  `nohup {{command}} {{argument1 argument2 ...}} > {{path/to/output_file}} &`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **AUTHOR**\n- **REPORTING BUGS**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "nohup",
        "section": "",
        "mode": "man",
        "summary": "nohup - run a command immune to hangups, with output to a non-tty",
        "synopsis": "nohup COMMAND [ARG]...\nnohup OPTION",
        "tldr_summary": "Allows for a process to live when the terminal gets killed.",
        "tldr_examples": [
            {
                "description": "Run a process that can live beyond the terminal",
                "command": "nohup {{command}} {{argument1 argument2 ...}}"
            },
            {
                "description": "Launch `nohup` in background mode",
                "command": "nohup {{command}} {{argument1 argument2 ...}} &"
            },
            {
                "description": "Run a shell script that can live beyond the terminal",
                "command": "nohup {{path/to/script.sh}} &"
            },
            {
                "description": "Run a process and write the output to a specific file",
                "command": "nohup {{command}} {{argument1 argument2 ...}} > {{path/to/output_file}} &"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit If standard input is a terminal, redirect it from an unreadable file. If standard output is a terminal, append output to 'nohup.out' if possible, '$HOME/nohup.out' otherwise. If stan‐ dard error is a terminal, redirect it to standard output. To save output to FILE, use 'nohup COMMAND > FILE'. NOTE: your shell may have its own version of nohup, which usually supersedes the version de‐ scribed here. Please refer to your shell's documentation for details about the options it supports."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "--version",
                        "lines": 11,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "nohup - run a command immune to hangups, with output to a non-tty\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "nohup COMMAND [ARG]...\nnohup OPTION\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Run COMMAND, ignoring hangup signals.\n\n--help display this help and exit\n",
                "subsections": [
                    {
                        "name": "--version",
                        "content": "output version information and exit\n\nIf  standard input is a terminal, redirect it from an unreadable file.  If standard output is\na terminal, append output to 'nohup.out' if possible, '$HOME/nohup.out' otherwise.  If  stan‐\ndard error is a terminal, redirect it to standard output.  To save output to FILE, use 'nohup\nCOMMAND > FILE'.\n\nNOTE: your shell may have its own version of nohup, which usually supersedes the version  de‐\nscribed  here.   Please  refer to your shell's documentation for details about the options it\nsupports.\n",
                        "long": "--version"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Written by Jim Meyering.\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "GNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright © 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",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Full documentation <https://www.gnu.org/software/coreutils/nohup>\nor available locally via: info '(coreutils) nohup invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                    NOHUP(1)",
                "subsections": []
            }
        }
    }
}