O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required