nice

Changes the priority of a command

nice [option] [command line]

The nice utility reports the priority of the shell or alters the priority of a command line. An ordinary user can decrease the priority of a command. Only Superuser can increase the priority of a command. The TC Shell has a nice builtin that has a different syntax. Refer to “Notes.”

Arguments

The command line is the command line you want to execute at a different priority. Without any options or arguments, nice reports the priority of the shell running the nice command.

Options

Without an option, nice defaults to an adjustment of 10, lowering the priority of the command by 10, typically from 0 to 10. (As you raise the priority value, the command is run at a lower priority.) ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.