mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
535 B
Plaintext
19 lines
535 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# nice
|
|
|
|
> Execute a program with a custom scheduling priority (niceness).
|
|
> Niceness values range from -20 (the highest priority) to 19 (the lowest).
|
|
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/nice-invocation.html>.
|
|
|
|
- Launch a program with altered priority:
|
|
|
|
`nice -{{niceness_value}} {{command}}`
|
|
|
|
- Define the priority with an explicit option:
|
|
|
|
`nice {{[-n|--adjustment]}} {{niceness_value}} {{command}}`
|