Skip to main content
Linux AdministrationMediumSingle Choice

Linux Administration Question

Statement

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?

#nice#process priority#default nice value
A

-10

B

0

C

10

Correct
D

20

Resolution & Explanations

By default, if no increment is specified, the nice command increases the current nice level of the process by 10. Since most shells start with a nice level of 0, the resulting process will have a nice level of 10.