LPIC-1 Exam 101 (Linux Administrator) — Question 13
Regarding the command:
nice -5 /usr/bin/prog
Which of the following statements is correct?
Answer options
- A. /usr/bin/prog is executed with a nice level of -5.
- B. /usr/bin/prog is executed with a nice level of 5.
- C. /usr/bin/prog is executed with a priority of -5.
- D. /usr/bin/prog is executed with a priority of 5.
Correct answer: B
Explanation
The correct statement is that /usr/bin/prog is executed with a nice level of 5, which means it has a lower priority due to the positive nice value. The other options incorrectly state the nice level and priority, as a negative nice value would increase the priority, not the positive one.