NICE(1)

๐Ÿ’– NICE(1) ๐Ÿ’–

okay bestie, so this is the nice page from the User Commands manual โ€” yes, the name is literally lowercase nice, we love a humble icon ๐Ÿ’…


โœจ NAME โœจ

nice โ€” run a program with modified scheduling priority ๐ŸŽ€


๐ŸŒธ SYNOPSIS ๐ŸŒธ

nice [OPTION] [COMMAND [ARG]...]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So the whole vibe here is: you run a COMMAND, but with an adjusted niceness, which is what decides how the scheduler treats your process. Think of niceness as the politeness level of your little program. ๐Ÿฅบ

And if you give it no COMMAND at all? It just prints the current niceness. Cute, right? Like a lil vibe check for your process.

Niceness values go from -20 (most favorable to the process, aka main character energy ๐Ÿ‘‘) all the way to 19 (least favorable to the process, aka please go last, no rush ๐ŸŒ).

Also, super important, bestie: mandatory arguments to long options are mandatory for short options too. No exceptions, no cap.

  • -n, --adjustment=N โ€” add integer N to the niceness (default 10) โœจ
  • --help โ€” display this help and exit ๐Ÿซถ
  • --version โ€” output version information and exit ๐Ÿ’œ
Heads up though: your shell may have its own version of nice, and it usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports. ikyky ๐Ÿ˜ญ

๐Ÿ“ Exit status: ๐Ÿ“

  • 125 โ€” if the nice command itself fails ๐Ÿ’€
  • 126 โ€” if COMMAND is found but cannot be invoked ๐Ÿ™ˆ
  • 127 โ€” if COMMAND cannot be found ๐Ÿ˜ญ
  • - โ€” the exit status of COMMAND otherwise ๐ŸŒˆ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Written by David MacKenzie. thank you for your service, king ๐Ÿซก


๐Ÿ’Œ REPORTING BUGS ๐Ÿ’Œ

Report bugs to: <bug-coreutils@gnu.org>.

Report any translation bugs to: <https://translationproject.org/team/>.

GNU coreutils home page: <https://www.gnu.org/software/coreutils/>

General help using GNU software: <https://www.gnu.org/gethelp/>


Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

Full documentation <https://www.gnu.org/software/coreutils/nice>

or available locally via: info '(coreutils) nice invocation'


and that's the whole page, bestie!! ๐Ÿ’– this beauty is GNU coreutils 9.12, dated September 2026 โ€” go forth and be nice (or don't, -n -20 is right there) ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from