{
    "mode": "man",
    "parameter": "nice",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/nice/1/json",
    "generated": "2026-06-10T16:09:01Z",
    "synopsis": "nice [OPTION] [COMMAND [ARG]...]",
    "sections": {
        "NAME": {
            "content": "nice - run a program with modified scheduling priority\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "nice [OPTION] [COMMAND [ARG]...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Run  COMMAND  with  an adjusted niceness, which affects process scheduling.  With no COMMAND,\nprint the current niceness.  Niceness values range from -20 (most favorable to  the  process)\nto 19 (least favorable to the process).\n\nMandatory arguments to long options are mandatory for short options too.\n",
            "subsections": [
                {
                    "name": "-n --adjustment",
                    "content": "add integer N to the niceness (default 10)\n\n--help display this help and exit\n",
                    "flag": "-n",
                    "long": "--adjustment"
                },
                {
                    "name": "--version",
                    "content": "output version information and exit\n\nNOTE:  your  shell may have its own version of nice, 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 David MacKenzie.\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": "nice(2), renice(1)\n\nFull documentation <https://www.gnu.org/software/coreutils/nice>\nor available locally via: info '(coreutils) nice invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                     NICE(1)",
            "subsections": []
        }
    },
    "summary": "nice - run a program with modified scheduling priority",
    "flags": [
        {
            "flag": "-n",
            "long": "--adjustment",
            "arg": null,
            "description": "add integer N to the niceness (default 10) --help display this help and exit"
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "output version information and exit NOTE: your shell may have its own version of nice, 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": [
        {
            "name": "renice",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/renice/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Execute a program with a custom scheduling priority (niceness).",
        "examples": [
            {
                "description": "Print the current niceness value",
                "command": "nice"
            },
            {
                "description": "Increment the current niceness value by 10",
                "command": "nice nice"
            },
            {
                "description": "Launch a program with lowered priority",
                "command": "nice -{{niceness_value}} {{command}}"
            },
            {
                "description": "Launch a program with heightened priority",
                "command": "sudo nice --{{niceness_value}} {{command}}"
            },
            {
                "description": "Define the priority with an explicit option",
                "command": "nice {{-n|--adjustment}} {{niceness_value}} {{command}}"
            }
        ]
    }
}