{
    "mode": "man",
    "parameter": "nohup",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/man/nohup/json",
    "generated": "2026-06-05T19:44:07Z",
    "synopsis": "nohup COMMAND [ARG]...\nnohup OPTION",
    "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": []
        }
    },
    "summary": "nohup - run a command immune to hangups, with output to a non-tty",
    "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": [],
    "tldr": {
        "source": "official",
        "description": "Allows for a process to live when the terminal gets killed.",
        "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}} &"
            }
        ]
    }
}