nice [-n adjustment] command [args...]Arguments explained
- -n sets niceness, commonly from -20 to 19.
- command is the program to start.
Common examples
nice -n 10 tar -czf archive.tar.gz big-folderStarts tar with lower CPU priority.
nice makeRuns make with a slightly lower priority than normal.
| Field | Details |
|---|---|
| Command | nice |
| Category | Processes |
| Primary use | Starts a command with adjusted scheduling priority. |
| Syntax | nice [-n adjustment] command [args...] |