Linux Foundation Certified System Administrator (LFCS) — Question 46
When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?
Answer options
- A. -10
- B. 0
- C. 10
- D. 20
Correct answer: C
Explanation
The correct answer is C, as using the nice command without parameters defaults to a nice level of 10, which indicates a lower priority for the process. Options A, B, and D are incorrect because -10 represents a higher priority, 0 is the default priority for processes started without nice, and 20 is the highest nice value, lowering the process's priority even more.